home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / tcxl551.zip / TCXL_DOC.EXE / lha / DOC / TCXL-QCK.TXT < prev    next >
Text File  |  1990-10-01  |  114KB  |  3,096 lines

  1.  
  2.  
  3.             The TesSeRact CXL User Interface Development System
  4.  
  5.  
  6.                     Quick Reference Guide & Appendixes
  7.  
  8.  
  9.                       Version 5.51 -- October 1, 1990
  10.  
  11.  
  12.      Copyright 1990, Innovative Data Concepts
  13.      All Rights Reserved
  14.  
  15.  
  16.      Innovative Data Concepts
  17.      1657 The Fairways
  18.      Suite 101
  19.      Jenkintown, PA 19046
  20.      Voice:  1-215-884-3373
  21.      Orders: 1-800-926-4551
  22.      FAX:    1-215-886-4225
  23.  
  24.  
  25.  
  26. TCXL is  part of  IDC's TesSeRact  Development Tools series of programmer's
  27. products.
  28. This  document;   other  accompanying  written  and  disk-based  notes  and
  29. specifications; and  all referenced  and related program files accompanying
  30. this document  are copyrighted  by Innovative  Data Concepts.  For ordering
  31. information, see  the ORDER.DOC  file provided  with  this  package.    For
  32. shareware distribution requirements, see the VENDOR.DOC file.
  33.  
  34.  
  35.  
  36.  
  37.  
  38.                   _______
  39.              ____|__     |               (R)
  40.           --|       |    |-------------------
  41.             |   ____|__  |  Association of
  42.             |  |       |_|  Shareware
  43.             |__|   o   |    Professionals
  44.           -----|   |   |---------------------
  45.                |___|___|    MEMBER
  46.  
  47.  
  48. The TesSeRact  Development Tools are distributed as shareware -- this means
  49. that we  encourage users,  subject to restrictions described in the License
  50. Agreement, to  share copies  of this  program with  friends, associates and
  51. bulletin boards.  You may not share the registered version of The TesSeRact
  52. Development Tools;  however, you  may request  a  free  shareware  disk  by
  53. completing the form in VENDOR.DOC.
  54.  
  55. If you make copies of The TesSeRact Development Tools, you must include all
  56. files in  the original  distribution files,  as well  as the  documentation
  57. archive.   You are  not permitted  to distribute  The TesSeRact Development
  58. Tools without this documentation.
  59.  
  60. Innovative Data  Concepts is  a member  of  the  Association  of  Shareware
  61. Professionals.   The  ASP  has  established  stringent  standards  for  its
  62. members.   ASP wants  to make  sure that  the shareware principle works for
  63. you.  If you are unable to resolve a problem with an ASP member (other than
  64. technical support),  ASP may  be able  to help.   Please  write to  the ASP
  65. Ombudsman at P.O. Box 5786, Bellevue, WA 98006.
  66.  
  67.  
  68.                                 Trademarks
  69.  
  70.      SWAPSK, SWAPSP, SWAPTN, SWAPMT, SWAPMM, SWAPSH, SWAPDT, SWAPNG and The
  71.           SWAP Utilities are trademarks of Innovative Data Concepts.
  72.      TesSeRact is a trademark of Innovative Data Concepts
  73.      CompuServe is a registered trademark of CompuServe Incorporated.
  74.      DESQview is a trademark of Quarterdeck Office Systems.
  75.      Epson is a registered trademark of Seiko Epson Corporation.
  76.      IBM is a registered trademark of International Business Machines.
  77.      LIM  and   EMS  are   trademarks  of   Lotus,  Intel,   and  Microsoft
  78.           Corporations.
  79.      Lotus is a registered trademark of Lotus Development Corporation.
  80.      Microsoft is a registered trademark of Microsoft Corporation.
  81.      Turbo C  and   Turbo C++  are   registered   trademarks   of   Borland
  82.           International.
  83.      UltraVision is a trademark of Personics, Inc.
  84.      Zortech is a trademark of Zortech Inc.
  85.  
  86. Page ii                            TesSeRact CXL V5.5 Quick Reference Guide
  87.                              Table of Contents
  88.      Introductory Notes.............................................ii
  89.  Quick Reference List of Functions...................................1
  90.      User Level Functions............................................1
  91.          Menu System.................................................1
  92.              Menu Item Manipulation..................................1
  93.              Menu Definition and Access..............................1
  94.          Entry System................................................2
  95.              Entry Form Manipulation.................................2
  96.              Entry Field Manipulation................................2
  97.              Internal Entry Routines.................................2
  98.          Help System.................................................3
  99.          Selection System............................................3
  100.      Middle Level Functions..........................................4
  101.          Window System...............................................4
  102.              Error Handling..........................................4
  103.              General Window Manipulation.............................4
  104.              Active Window Movement..................................5
  105.              Active Window Control...................................5
  106.              Active Border...........................................6
  107.              Active Shadow...........................................7
  108.              Active Cursor...........................................7
  109.              Active Window Formatted Output..........................7
  110.              Active Window Unformatted Output........................8
  111.          Display System..............................................8
  112.              Window Builders.........................................8
  113.              Video Control...........................................9
  114.              Video Output............................................9
  115.              Cursor Control.........................................10
  116.              Attribute Control......................................10
  117.              Video-Disk Routines....................................10
  118.          Input System...............................................11
  119.              Active Window Input....................................11
  120.              Default Video Input....................................11
  121.              Asynchronous Input.....................................12
  122.              Input With No Echo.....................................12
  123.          Strings System.............................................12
  124.      Hardware Level Functions.......................................14
  125.          Information Subsystem......................................14
  126.              Library Information....................................14
  127.              Utility Routines.......................................16
  128.          Memory Subsystem...........................................16
  129.              Expanded Memory Routines...............................16
  130.              Extended Memory Routines...............................17
  131.          Printer Subsystem..........................................18
  132.          OpSys Subsystem............................................19
  133.      Bottom Level Functions.........................................19
  134.          Video Access Subsystem.....................................19
  135.              Direct Hardware Access.................................19
  136.              Ultravision Support....................................20
  137.              Internal Hardware Calls................................20
  138.          Keyboard Access Subsystem..................................21
  139.          Mouse Access Subsystem.....................................22
  140.      Internal Level Functions.......................................23
  141.          Conversion Subsystem.......................................23
  142.          Format Control Subsystem...................................23
  143.          Near/Far Subsystem.........................................24
  144.  
  145. TesSeRact CXL V5.5 Quick Reference Guide                           Page iii
  146.  Appendix A - Text Attributes.......................................25
  147.  Appendix B - Keycode Table.........................................26
  148.  Appendix C - Other System Equates..................................27
  149.      Menu System....................................................27
  150.      Entry System...................................................27
  151.      Window System..................................................28
  152.      Information Subsystem..........................................28
  153.      Video Access Subsystem.........................................29
  154.      Keyboard Access Subsystem......................................31
  155.      Mouse Access Subsystem.........................................31
  156.      Format Control Subsystem.......................................31
  157.  Appendix D - Window Output Escape Codes............................32
  158.  Appendix E - Format Control Characters.............................33
  159.  Appendix F - Movement and Editing Keys.............................35
  160.  Appendix G - Global Error Codes....................................36
  161.  Appendix H - Name Changes for CXL 5.2 Users........................37
  162.      Function Mapping Sorted by Header and New Name.................37
  163.      Function Mapping Sorted by New Name............................42
  164.      Function Mapping Sorted by Old Name............................46
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204. Page iv                            TesSeRact CXL V5.5 Quick Reference Guide
  205.  
  206.  
  207.                      Quick Reference List of Functions
  208.  
  209.                            User Level Functions
  210.  
  211.                                 Menu System
  212.  
  213.                           Menu Item Manipulation
  214.  
  215.  
  216. IdfP ItmCur(NOARG);
  217.   Current item pointer
  218.  
  219. IntT CTYP ItmDis(TagT id);
  220.   Disable item <id>
  221.  
  222. IntT CTYP ItmDsp(TagT id);
  223.   Re-display item <id>
  224.  
  225. IntT CTYP ItmEna(TagT id);
  226.   Enable item <id>
  227.  
  228. IntT CTYP ItmFun(VFvCP bf, VFvCP af);
  229.   Assign "before" and "after" functions
  230.  
  231. ChrP CTYP ItmGet(TagT id);
  232.   Get item <id> text
  233.  
  234. IdfP CTYP ItmKey(KeyT kc);
  235.   Find item by hot-key <kc>
  236.  
  237. IdfP CTYP ItmLoc(TagT id);
  238.   Find item <id>
  239.  
  240. IntT CTYP ItmNxt(TagT id);
  241.   Goto item <id>
  242.  
  243. IntT CTYP ItmSet(TagT id, ChrP tp);
  244.   Set item <id> text
  245.  
  246. IntT CTYP ItmTxt(IntT wr, IntT wc, IntT at, ChrP ps);
  247.   Add text description
  248.  
  249.                         Menu Definition and Access
  250.  
  251.  
  252. IntT CTYP MnuAct(NOARG);
  253.   Define menu in active window
  254.  
  255. IntT CTYP MnuBeg(IntT sr, IntT sc, IntT er, IntT ec, IntT bt, IntT ba, IntT
  256.             wa, VfvCP fo);
  257.   Define menu
  258.  
  259. MdfP MnuCur(NOARG);
  260.   Current menu pointer
  261.  
  262.  
  263. TesSeRact CXL V5.5 Quick Reference Guide                             Page 1
  264. IntT CTYP MnuEnd(TagT ti, IntT mt, IntT bw, IntT tp, IntT ta, IntT sa, IntT
  265.             na, IntT ba);
  266.   End menu definition
  267.  
  268. IntT CTYP MnuItm(IntT wr, IntT wc, ChrP ps, IntT sc, TagT id, IntT fm,
  269.             VfvCP sf, WrdT hk, TagT he);
  270.   Define menu item
  271.  
  272. IntT MnuShow(NOARG);
  273.   Display/process menu
  274.  
  275.                                Entry System
  276.  
  277.                           Entry Form Manipulation
  278.  
  279.  
  280. IntT CTYP EntDef(IntT fa, IntT ta);
  281.   Define entry form
  282.  
  283. IntT CTYP EntFld(IntT wr, IntT wc, ChrP ps, ChrP fs, IntT fm, TagT id, IntT
  284.             md, IfcpCP vf, TagT ht);
  285.   Define entry field
  286.  
  287. IntT CTYP EntKey(WfipCP gk, WrdP tk);
  288.   Set alternate getkey() and termination key
  289.  
  290. IntT CTYP EntSep(ChrP ws);
  291.   Set word-separator string
  292.  
  293. IntT CTYP EntShow(NOARG);
  294.   Display, process entry form
  295.  
  296.                          Entry Field Manipulation
  297.  
  298.  
  299. FdfP FldCur(NOARG);
  300.   Current active field
  301.  
  302. IntT CTYP FldFun(VfvCP bf, VfvCP af);
  303.   Assign "before" and "after" functions
  304.  
  305. IntT CTYP FldKey(KeyT hk);
  306.   Assign hot-key
  307.  
  308. FdfP CTYP FldLoc(TagT id);
  309.   Find entry field <id>
  310.  
  311.                           Internal Entry Routines
  312.  
  313.  
  314. VOID CTYP _FldDsp(ChrP s, IntT h);
  315.   Display field
  316.  
  317. VOID CTYP _FldDecL(ChrP s);
  318.   Format left of decimal
  319.  
  320.  
  321.  
  322. Page 2                             TesSeRact CXL V5.5 Quick Reference Guide
  323. VOID CTYP _FldDecR(ChrP s);
  324.   Format right of decimal
  325.  
  326.                                 Help System
  327.  
  328.  
  329. IntT CTYP HlpAdd(TagT ht);
  330.   Push current, then set tag-id
  331.  
  332. IntT CTYP HlpClr(NOARG);
  333.   Clear help-stack
  334.  
  335. IntT HlpCur(NOARG);
  336.   Push current help tag-id
  337.  
  338. IntT CTYP HlpDef(ChrP fn, WrdT ky, IntT wa, IntT ta, IntT sa, IntT ba,
  339.             VfvCP fo);
  340.   Define help hot-key, file, colors, open-function
  341.  
  342. IntT CTYP HlpDrop(NOARG);
  343.   Drop current category
  344.  
  345. IntT CTYP HlpOff(NOARG);
  346.   Undefine help
  347.  
  348. IntT CTYP HlpPop(NOARG);
  349.   Pop help stack
  350.  
  351. IntT CTYP HlpPush(TagT ct);
  352.   Push help tag-id
  353.  
  354. IntT CTYP HlpSet(TagT ct);
  355.   Set help category by tag-id
  356.  
  357. VOID CTYP HlpShow(NOARG);
  358.   Display help window
  359.  
  360. IntT CTYP HlpWind(IntT sr, IntT sc, IntT er, IntT ec, IntT bt, IntT ti);
  361.   Define help window
  362.  
  363.                              Selection System
  364.  
  365.  
  366. IntT CTYP SelAttr(IntT sr, IntT sc, IntT bt, IntT ba, IntT ab, VfvCP fo);
  367.   Select attribute
  368.  
  369. ChrP CTYP SelFile(IntT sr, IntT sc, IntT er, IntT ec, IntT bt, IntT ba,
  370.             IntT wa, IntT sa, IntT ti, ChrP fs, VfvCP fo);
  371.   Select file
  372.  
  373. IntT CTYP SelStr(IntT sr, IntT sc, IntT er, IntT ec, IntT bt, IntT ba, IntT
  374.             wa, IntT sa, ChrP as[], IntT ie, VfvCP                  fo);
  375.   Select string
  376.  
  377. IntT CTYP SelTxt(IntT wr, IntT wc, IntT at, ChrP as[], IntT in);
  378.   Select text (active window)
  379.  
  380.  
  381. TesSeRact CXL V5.5 Quick Reference Guide                             Page 3
  382. IntT CTYP _Select(IntT sr, IntT sc, IntT er, IntT ec, IntT bt, IntT ba,
  383.             IntT wa, IntT sa, ChrP as[], IntT ie, VfvCP fo);
  384.   Internal selection engine
  385.  
  386.                           Middle Level Functions
  387.  
  388.                                Window System
  389.  
  390.                               Error Handling
  391.  
  392.  
  393. IntT CTYP Wperror(ChrP mp);
  394.   Display error window
  395.  
  396. ChrP CTYP WerrMsg(NOARG);
  397.   Get error-message text
  398.  
  399. VOID CTYP Werror(NOARG);
  400.   Exit with error-message
  401.  
  402.                         General Window Manipulation
  403.  
  404.  
  405. IntT CTYP Wactiv(WndT wh);
  406.   Activate window <wh>
  407.  
  408. IntT CTYP WcloseAll(NOARG);
  409.   Close all windows
  410.  
  411. WndT CTYP Windowat(IntT sr, IntT sc);
  412.   Handle of window at position
  413.  
  414. WdfP CTYP WinLoc(WndT wh);
  415.   Find window by handle
  416.  
  417. IntT Wisactiv(WndT a);
  418.   Test for active handle
  419.  
  420. WndT CTYP Wopen(IntT sr, IntT sc, IntT er, IntT ec, IntT bt, IntT ba, IntT
  421.             wa);
  422.   Open window
  423.  
  424. WndT CTYP WpopUp(IntT cf, IntT sr, IntT sc, IntT er, IntT ec, IntT bt, IntT
  425.             ba, IntT wa);
  426.   Open centered window
  427.  
  428. VOID CTYP Wrestore(VcelP wb);
  429.   Restore saved window
  430.  
  431. VcelP CTYP Wsave(IntT sr, IntT sc, IntT er, IntT ec);
  432.   Save window
  433.  
  434. VOID WsetEsc(IntT a);
  435.   Enable/Disable [Esc] key
  436.  
  437. VOID WsetFil(Int a);
  438.   Set fill char
  439.  
  440. Page 4                             TesSeRact CXL V5.5 Quick Reference Guide
  441. IntT CTYP WsetFun(VOID (CTYP *f)(WrdT, WrdT, IntT, IntT));
  442.   Set fill function
  443.  
  444. VOID WsetTab(IntT a);
  445.   Set tab-width
  446.  
  447. IntT CTYP WsetTxt(IntT a);
  448.   Set text attr
  449.  
  450. IntT CTYP Wunhide(WndT wh);
  451.   Unhide window <wh>
  452.  
  453. IntT CTYP Wunlink(WndT wh);
  454.   Unlink window <wh>
  455.  
  456. IntT CTYP Wwprints(WndT wh, IntT wr, IntT wc,
  457.   Put string to window <wh>
  458.  
  459.                           Active Window Movement
  460.  
  461.  
  462. IntT CTYP Wcenter(IntT cf);
  463.   Center window on screen
  464.  
  465. IntT CTYP Wclose(NOARG);
  466.   Close window
  467.  
  468. WndT CTYP Wcopy(IntT nr, IntT nc);
  469.   Copy window
  470.  
  471. IntT CTYP Wdrag(IntT df);
  472.   Drag window one row or col
  473.  
  474. IntT CTYP Wdump(NOARG);
  475.   Dump window to printer
  476.  
  477. WndT CTYP Whandle(NOARG);
  478.   Get active handle
  479.  
  480. IntT CTYP Whide(NOARG);
  481.   Hide window
  482.  
  483. IntT CTYP Wmove(IntT sr, IntT sc);
  484.   Move window
  485.  
  486. IntT CTYP Wsize(IntT nr, IntT nc);
  487.   Resize window
  488.  
  489. IntT CTYP Wslide(IntT sr, IntT sc);
  490.   Slide window
  491.  
  492.                            Active Window Control
  493.  
  494.  
  495. IntT CTYP WchgAtr(IntT ba, IntT wa);
  496.   Change window/border attr
  497.  
  498.  
  499. TesSeRact CXL V5.5 Quick Reference Guide                             Page 5
  500. IntT CTYP WchkBox(IntT sr, IntT sc, IntT er, IntT ec);
  501.   Check box coords
  502.  
  503. IntT CTYP WchkCol(IntT wc);
  504.   Check column
  505.  
  506. IntT CTYP WchkPos(IntT wr, IntT wc);
  507.   Check position
  508.  
  509. IntT CTYP WchkRow(IntT wr);
  510.   Check row
  511.  
  512. IntT Wclear(NOARG);
  513.   Clear window to default
  514.  
  515. IntT CTYP WclrEol(NOARG);
  516.   Clear cursor to EOL
  517.  
  518. IntT WclrEos(NOARG);
  519.   Clear to end of window
  520.  
  521. IntT CTYP WclrWin(IntT at);
  522.   Clear window
  523.  
  524. IntT CTYP WfilBox(IntT sr, IntT sc, IntT er, IntT ec, IntT ch, IntT at);
  525.   Fill region
  526.  
  527. IntT CTYP WlinDel(IntT wr, IntT df);
  528.   Delete line
  529.  
  530. IntT CTYP WlinIns(IntT wr, IntT di);
  531.   Insert line
  532.  
  533. IntT CTYP WscrBox(IntT sr, IntT sc, IntT er, IntT ec, IntT n, IntT d);
  534.   Scroll region
  535.  
  536. IntT WscrWin(IntT n, IntT d);
  537.   Scroll window
  538.  
  539.                                Active Border
  540.  
  541.  
  542. IntT CTYP Wborder(IntT bt);
  543.   Add border
  544.  
  545. IntT CTYP Wbprintc(IntT bd, IntT of, IntT at, IntT ch);
  546.   Put char/attr on border
  547.  
  548. IntT CTYP WdrwBox(IntT sr, IntT sc, IntT er, IntT ec, IntT bt, IntT at);
  549.   Draw internal box
  550.  
  551. IntT CTYP WdrwHor(IntT sr, IntT sc, IntT nc, IntT bt, IntT at);
  552.   Draw horizontal line
  553.  
  554. IntT CTYP WdrwVer(IntT sr, IntT sc, IntT n, IntT bt, IntT at);
  555.   Draw vertical line
  556.  
  557.  
  558. Page 6                             TesSeRact CXL V5.5 Quick Reference Guide
  559. IntT CTYP Wmessage(ChrP ps, IntT bo, IntT lo, IntT at);
  560.   Put message on border
  561.  
  562. IntT CTYP Wtitle(ChrP ps, IntT tp, IntT ta);
  563.   Put title on border
  564.  
  565.                                Active Shadow
  566.  
  567.  
  568. IntT CTYP Wshadoff(NOARG);
  569.   Remove shadow
  570.  
  571. IntT CTYP Wshadow(IntT at);
  572.   Add shadow
  573.  
  574.                                Active Cursor
  575.  
  576.  
  577. VOID WcurGet(VposT rc);
  578.   Get cursor position
  579.  
  580. IntT WcurPut(VposT rc);
  581.   Position cursor
  582.  
  583. IntT CTYP Wgotoxy(IntT wr, IntT wc);
  584.   Position cursor at row,col
  585.  
  586. IntT CTYP Wpgotoxy(IntT wr, IntT wc);
  587.   Provisional position
  588.  
  589. VOID WposGet(IntT r, IntT c);
  590.   Get cursor position as row,col
  591.  
  592.                       Active Window Formatted Output
  593.  
  594.  
  595. VOID CTYP WdupChr(IntT ch, IntT nd);
  596.   Put duplicated char
  597.  
  598. VOID CTYP WdupStr(ChrP ps, IntT nd);
  599.   Put duplicated string
  600.  
  601. VOID CTYP Wputc(IntT ch);
  602.   Put char
  603.  
  604. VOID CTYP Wputs(ChrP ps);
  605.   Put string
  606.  
  607. VOID CTYP Wputns(ChrP ps, IntT wd);
  608.   Put limited string
  609.  
  610. VOID CTYP Wputsw(ChrP ps);
  611.   Put string with word-wrap
  612.  
  613. IntT CDC wputf(ChrP fs, ...);
  614.   Put printf() string
  615.  
  616.  
  617. TesSeRact CXL V5.5 Quick Reference Guide                             Page 7
  618. IntT CTYP WputFmt(ChrP fs, ChrP ps);
  619.   TCXL format-string output
  620.  
  621. IntT CTYP WputCen(ChrP ps);
  622.   Put centered string
  623.  
  624. IntT CTYP Wputrj(ChrP ps);
  625.   Right-justify string
  626.  
  627. IntT CTYP _Wputl(ChrP tp);
  628.   String length skipping control chars
  629.  
  630.                      Active Window Unformatted Output
  631.  
  632.  
  633. VOID CTYP WdupChrA(IntT wr, IntT wc, IntT at, IntT ch, IntT nd);
  634.   Put duplicated char/attr
  635.  
  636. VOID CTYP WdupStrA(IntT wr, IntT wc, IntT at, ChrP ps, IntT nd);
  637.   Put duplicated string/attr
  638.  
  639. IntT CTYP Wprtc(IntT wr, IntT wc, IntT at, IntT ch);
  640.   Put char/attr
  641.  
  642. IntT CTYP Wprts(IntT wr, IntT wc, IntT at, ChrP ps);
  643.   Put string/attr
  644.  
  645. VOID CTYP Wprtns(IntT wr, IntT wc, IntT at, ChrP ps, IntT wd);
  646.   Put limited string/attr
  647.  
  648. IntT CTYP Wprtsw(IntT wr, IntT wc, IntT at, ChrP ps);
  649.   Put string/attr with word-wrap
  650.  
  651. IntT CDC wprtf(IntT wr, IntT wc, IntT at, ChrP fs, ...);
  652.   Put printf() string/attr
  653.  
  654. IntT CTYP WprtFmt(IntT wr, IntT wc, IntT at, ChrP fs, ChrP ps);
  655.   TCXL Format-string/attr output
  656.  
  657. IntT CTYP WprtCen(IntT wr, IntT at, ChrP ps);
  658.   Put centered string/attr
  659.  
  660. IntT CTYP Wprtrj(IntT wr, IntT wc, IntT at, ChrP ps);
  661.   Right-justify string/attr
  662.  
  663.                               Display System
  664.  
  665.                               Window Builders
  666.  
  667.  
  668. VOID VclrBox(VposT s, VposT e);
  669.   Clear box on screen
  670.  
  671. VOID VdrwBox(VposT s, VposT e, IntT b, IntT a);
  672.   Draw box on screen
  673.  
  674.  
  675.  
  676. Page 8                             TesSeRact CXL V5.5 Quick Reference Guide
  677. VOID VfilBox(VposT s, VposT e, IntT c, IntT a);
  678.   Fill box on screen
  679.  
  680. VcelP CTYP Vsave(NOARG);
  681.   Save screen to buffer
  682.  
  683. VOID CTYP Vrestore(VcelP b);
  684.   Restore screen from buffer
  685.  
  686.                                Video Control
  687.  
  688.  
  689. VOID CTYP VidInit(NOARG);
  690.   Initialize video
  691.  
  692. IntT PAS VidMode(IntT m);
  693.   Get/set display mode
  694.  
  695. IntT CTYP VidParm(IntT p);
  696.   Set video parameter
  697.  
  698. VOID CTYP VidTerm(NOARG);
  699.   Terminate video
  700.  
  701. IntT CTYP VidType(NOARG);
  702.   Get adapter type
  703.  
  704. IntT CTYP VsetLin(IntT n);
  705.   Set screen lines
  706.  
  707. VOID CTYP Vclear(IntT a);
  708.   Clear screen to attr
  709.  
  710. VOID CTYP VclrEol(NOARG);
  711.   Clear cursor to EOL
  712.  
  713. VOID CTYP VclrScr(NOARG);
  714.   Clear screen
  715.  
  716.                                Video Output
  717.  
  718.  
  719. VOID CTYP Vprintc(IntT r, IntT c, IntT a, IntT x);
  720.   Put char/attr at row,col
  721.  
  722. VOID CTYP Vprints(IntT r, IntT c, IntT a, ChrP s);
  723.   Put string/attr at row,col
  724.  
  725. VOID PAS VputSpa(IntT n);
  726.   Put <n> spaces at cursor
  727.  
  728. VOID CTYP Vputc(IntT r, IntT c, IntT x, IntT a);
  729.   Put char/attr at row,col
  730.  
  731. VOID Vputw(IntT r, IntT c, VcelT x);
  732.   Put VcelT at row,col
  733.  
  734.  
  735. TesSeRact CXL V5.5 Quick Reference Guide                             Page 9
  736. VOID Vscroll(IntT d, VposT s, VposT e, IntT n, IntT a);
  737.   Scroll box on screen
  738.  
  739. VOID Vgetw(IntT r, IntT c, VcelT x);
  740.   Get VcelT at row,col
  741.  
  742.                               Cursor Control
  743.  
  744.  
  745. VOID VcurGet(VposT v);
  746.   get cursor position
  747.  
  748. IntT CTYP VcurHid(IntT s);
  749.   hide/show cursor, return state
  750.  
  751. VOID VcurPut(VposT v);
  752.   position cursor
  753.  
  754. VOID CTYP VcurSet(IntT s);
  755.   set large/small cursor
  756.  
  757. VOID VcurSiz(VcseT c);
  758.   size cursor
  759.  
  760. VOID PAS Vgotoxy(IntT r, IntT c);
  761.   position cursor at row,col
  762.  
  763. VOID PAS VposGet(IntT r, IntT c);
  764.   get cursor position as row,col
  765.  
  766.                              Attribute Control
  767.  
  768.  
  769. IntT PAS VatrInv(IntT a);
  770.   Invert attribute
  771.  
  772. IntT CTYP VatrMap(IntT a);
  773.   Map color attribute to mono
  774.  
  775. VOID CTYP VatrRev(IntT n);
  776.   Reverse <n> attributes at cursor
  777.  
  778. VOID CTYP VatrSet(IntT a, IntT n);
  779.   Set <n> attributes at cursor
  780.  
  781. ChrP CTYP VatrTxt(IntT a);
  782.   Return text description of attribute
  783.  
  784. IntT Vattrib(IntT f, IntT b, IntT i, IntT h);
  785.   Construct attribute
  786.  
  787.                             Video-Disk Routines
  788.  
  789.  
  790. IntT VsavBox(VposT s, VposT e, ChrP f);
  791.   Save box image to disk
  792.  
  793.  
  794. Page 10                            TesSeRact CXL V5.5 Quick Reference Guide
  795. IntT CTYP VlodBox(ChrP f);
  796.   Load box image from disk
  797.  
  798. IntT CTYP VsavScr(ChrP f)
  799.   Save screen image to disk
  800.  
  801. IntT CTYP VlodScr(ChrP f);
  802.   Load screen image from disk
  803.  
  804.                                Input System
  805.  
  806.                             Active Window Input
  807.  
  808.  
  809. IntT CTYP KwGetCf(ChrP v, IntT d);
  810.   Get valid key
  811.  
  812. IntT CTYP KwGetCh(NOARG);
  813.   Get key
  814.  
  815. IntT CTYP KwGetFmt(ChrP s, ChrP f);
  816.   Get TCXL formatted string
  817.  
  818. IntT CTYP KwGetSn(ChrP s, IntT m);
  819.   Get limited string
  820.  
  821. IntT CTYP KwGetSt(ChrP ps);
  822.   Get string
  823.  
  824. IntT CTYP KwGetYn(IntT cd);
  825.   Get Y|N answer
  826.  
  827. IntT CDC KwScanf(ChrP fs, ...);
  828.   Get scanf() string (TC/TC++ only)
  829.  
  830.                             Default Video Input
  831.  
  832.  
  833. IntT CTYP KvGetCf(ChrP v, IntT d);
  834.   Get valid key
  835.  
  836. IntT CTYP KvGetCh(NOARG);
  837.   Get key
  838.  
  839. IntT CTYP KvGetFmt(ChrP s, ChrP f);
  840.   Get TCXL formatted string
  841.  
  842. IntT CTYP KvGetSn(ChrP s, IntT m);
  843.   Get limited string
  844.  
  845. VOID CTYP KvGetSt(ChrP ps);
  846.   Get string
  847.  
  848. IntT CTYP KvGetYn(IntT cd);
  849.   Get Y|N answer
  850.  
  851.  
  852.  
  853. TesSeRact CXL V5.5 Quick Reference Guide                            Page 11
  854. VOID CDC KvScanf(ChrP fs, ...);
  855.   Get scanf() string (TC/TC++ only)
  856.  
  857.                             Asynchronous Input
  858.  
  859.  
  860. KbndP CTYP KbndChg(KbndP l);
  861.   Swap binding-stack pointers
  862.  
  863. IntT CTYP KbndClr(KeyT k);
  864.   Unbind key
  865.  
  866. VOID CTYP KbndFre(NOARG);
  867.   Free all stacked key-bindings
  868.  
  869. VOID KbndIdle(VfvCP a);
  870.   Assign idle-loop function
  871.  
  872. IntT CTYP KbndSet(KeyT k, VfvCP f, KeyT r);
  873.   Bind key to function & return keycode
  874.  
  875.                             Input With No Echo
  876.  
  877.  
  878. VOID KeyClear(NOARG);
  879.   Clear keyboard
  880.  
  881. IntT CTYP KeyEvent(NOARG);
  882.   Detect key/mouse event
  883.  
  884. KeyT CTYP KeyGetc(NOARG);
  885.   Get key/mouse event
  886.  
  887. KeyT KeyPeek(NOARG);
  888.   Peek at waiting keycode
  889.  
  890. WrdT KeyStat(NOARG);
  891.   Get keyboard status
  892.  
  893. KeyT CTYP KeyTime(IntT t);
  894.   Wait for key or time-out
  895.  
  896. KeyT KeyWait(NOARG);
  897.   Wait for key
  898.  
  899.                               Strings System
  900.  
  901.  
  902. IntT CTYP strblank(ChrP s);
  903.   Return non-zero if string is blank
  904.  
  905. ChrP CTYP strbmatch(ChrP s, ChrP a[]);
  906.   Find "best" matching string
  907.  
  908. ChrP strbtrim(ChrP s);
  909.   Trim string of leading blanks
  910.  
  911.  
  912. Page 12                            TesSeRact CXL V5.5 Quick Reference Guide
  913. IntT CTYP strchg(ChrP s, IntT a, IntT b);
  914.   Change all matching characters
  915.  
  916. DwdT CTYP strchksum(ChrP s);
  917.   Return string checksum
  918.  
  919. ChrP CTYP strcode(ChrP s, ChrP k);
  920.   Encode/decode string
  921.  
  922. ChrP CTYP strdel(ChrP a, ChrP s);
  923.   Delete substring
  924.  
  925. ChrP CTYP strdela(ChrP a, ChrP s);
  926.   Delete all occurences of substring
  927.  
  928. IntT CTYP strichg(ChrP s, IntT a, IntT b);
  929.   Change all matching case-independent characters
  930.  
  931. DwdT CTYP strichksum(ChrP s);
  932.   Return case-independent string checksum
  933.  
  934. ChrP CTYP stridel(ChrP a, ChrP b);
  935.   Delete case-independent substring
  936.  
  937. ChrP CTYP stridela(ChrP a, ChrP b);
  938.   Delete all occurences of case-independent substring
  939.  
  940. ChrP CTYP striinc(ChrP a, ChrP s);
  941.   Test for inclusion of case-independent substring
  942.  
  943. ChrP CTYP strinc(ChrP a, ChrP s);
  944.   Test for inclusion of substring
  945.  
  946. ChrP CTYP strins(ChrP a, ChrP s, IntT p);
  947.   Insert one string into another
  948.  
  949. IntT CTYP striocc(ChrP s, IntT c);
  950.   Count occurences of case-independent character
  951.  
  952. ChrP CTYP strischg(ChrP s, ChrP a, ChrP b);
  953.   Change all occurences of case-independent substring
  954.  
  955. IntT CTYP strisocc(ChrP a, ChrP s);
  956.   Count occurences of case-independent substring
  957.  
  958. ChrP CTYP strisrep(ChrP s, ChrP a, ChrP b);
  959.   Search for and replace case-independent substring
  960.  
  961. ChrP strleft(ChrP s, IntT n);
  962.   Copy left substring to new string
  963.  
  964. ChrP CTYP strljust(ChrP s);
  965.   Left justify string
  966.  
  967. ChrP CTYP strltrim(ChrP s);
  968.   Trim string of leading blanks
  969.  
  970.  
  971. TesSeRact CXL V5.5 Quick Reference Guide                            Page 13
  972. IntT CTYP strmatch(ChrP a, ChrP b);
  973.   Match strings
  974.  
  975. ChrP CTYP strmid(ChrP s, IntT p, IntT n);
  976.   Copy substring to new string
  977.  
  978. IntT CTYP strocc(ChrP s, IntT c);
  979.   Count occurences of character in string
  980.  
  981. ChrP strright(ChrP s, IntT n);
  982.   Copy right substring to new string
  983.  
  984. ChrP CTYP strrjust(ChrP s);
  985.   Right justify string
  986.  
  987. ChrP CTYP strrol(ChrP s, IntT n);
  988.   Rotate string left
  989.  
  990. ChrP CTYP strror(ChrP s, IntT n);
  991.   Rotate string right
  992.  
  993. ChrP strrtrim(ChrP s);
  994.   Trim string of trailing blanks
  995.  
  996. ChrP CTYP strschg(ChrP s, ChrP a, ChrP b);
  997.   Change all occurences of substring
  998.  
  999. ChrP CTYP strsetsz(ChrP s, IntT n);
  1000.   Adjust string length
  1001.  
  1002. ChrP CTYP strshl(ChrP s, IntT n);
  1003.   Shift string left
  1004.  
  1005. ChrP CTYP strshr(ChrP s, IntT n);
  1006.   Shift string right
  1007.  
  1008. IntT CTYP strsocc(ChrP a, ChrP s);
  1009.   Count occurences of substring
  1010.  
  1011. ChrP CTYP strsrep(ChrP s, ChrP a, ChrP b);
  1012.   Search for and replace substring
  1013.  
  1014. ChrP CTYP strtrim(ChrP s);
  1015.   Trim string of trailing blanks
  1016.  
  1017. ChrP CTYP struplow(ChrP s);
  1018.   Convert string to initial-capitals
  1019.  
  1020.                          Hardware Level Functions
  1021.  
  1022.                            Information Subsystem
  1023.  
  1024.                             Library Information
  1025.  
  1026.  
  1027. VOID CTYP TcxlInit(NOARG);
  1028.   Initialize TCXL
  1029.  
  1030. Page 14                            TesSeRact CXL V5.5 Quick Reference Guide
  1031. VOID CDC TcxlTerm(NOARG);
  1032.   Terminate TCXL
  1033.  
  1034. WrdT TcxlVer(NOARG);
  1035.   Get TCXL version number
  1036.  
  1037.                            Hardware Information
  1038.  
  1039.  
  1040. VOID PAS _BioEqp(NOARG);
  1041.   Fill in _HdwCtl from BIOS equip flags (Internal)
  1042.  
  1043. ChrP CTYP BiosVer(NOARG);
  1044.   Get ROM-BIOS version
  1045.  
  1046. IntT CTYP ClockCal(NOARG);
  1047.   Detect XT clock/calendar board
  1048.  
  1049. IntT CTYP MachId(NOARG)
  1050.   Get machine-id
  1051.  
  1052. IntT HdwFlg(NOARG)
  1053.   Get hardware option flags
  1054.  
  1055. IntT HdwGam(NOARG)
  1056.   Return TRUE if game-adapter present
  1057.  
  1058. IntT HdwNdp(NOARG)
  1059.   Return TRUE if math coprocessor present
  1060.  
  1061. IntT HdwMou(NOARG)
  1062.   Return TRUE if PS/2 mouse present
  1063.  
  1064. IntT HdwMdm(NOARG)
  1065.   Return TRUE if PS/2 modem present
  1066.  
  1067. IntT HdwC40(NOARG)
  1068.   Return TRUE if 40-col color video
  1069.  
  1070. IntT HdwC80(NOARG)
  1071.   Return TRUE if 80-col color video
  1072.  
  1073. IntT HdwM80(NOARG)
  1074.   Return TRUE if 80-col mono video
  1075.  
  1076. IntT HdwDrv(NOARG)
  1077.   Get floppy-drive count
  1078.  
  1079. IntT HdwPar(NOARG)
  1080.   Get parallel port count
  1081.  
  1082. IntT HdwSer(NOARG)
  1083.   Get serial port count
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089. TesSeRact CXL V5.5 Quick Reference Guide                            Page 15
  1090.  
  1091.                              Utility Routines
  1092.  
  1093.  
  1094. VOID Beep(NOARG);
  1095.   Sound your claxon
  1096.  
  1097. ChrP CTYP RandFile(NOARG);
  1098.   Generate random filename
  1099.  
  1100. VOID CTYP Sound(WrdT pv, WrdT dt);
  1101.   Make noise
  1102.  
  1103. ChrP CTYP SysDate(IntT d);
  1104.   Format system date as a string
  1105.  
  1106. ChrP CTYP SysTime(IntT t);
  1107.   Format system time as a string
  1108.  
  1109. IntT PAS TabNxt(IntT c, IntT w);
  1110.   Calculate next tab-stop
  1111.  
  1112. VOID PAS _Delay(WrdT d);
  1113.   Delay for <d> clock-ticks
  1114.  
  1115. VOID PAS _StdOut(ArgT ch);
  1116.   Display character on standard output
  1117.  
  1118. VOID PAS _StdOutS(ChrP s);
  1119.   Display string on standard output
  1120.  
  1121. DwdT PAS _Timer(NOARG);
  1122.   Get system timer
  1123.  
  1124. VOID PAS _WaitMs(IntT ms)
  1125.   Wait (delay) for <ms> millisec
  1126.  
  1127.                              Memory Subsystem
  1128.  
  1129.  
  1130. VOID PAS MemInit(NOARG);
  1131.   Initialize subsystem
  1132.  
  1133. VOID MemTerm(NOARG);
  1134.   Terminate subsystem
  1135.  
  1136.                          Expanded Memory Routines
  1137.  
  1138.  
  1139. _HdlT PAS EMSalloc(IntT np);
  1140.   Allocate EMS pages
  1141.  
  1142. IntT PAS EMSfree(_HdlT eh);
  1143.   Free EMS handle's pages
  1144.  
  1145. ChrFP PAS EMSgetnam(_HdlT eh, ChrFP np);
  1146.   Get EMS handle name
  1147.  
  1148. Page 16                            TesSeRact CXL V5.5 Quick Reference Guide
  1149. IntT PAS EMScount(NOARG);
  1150.   Get EMS handle count
  1151.  
  1152. IntT PAS EMSpages(_HdlT eh);
  1153.   Get EMS handle's page count
  1154.  
  1155. IntT PAS EMSmap(_HdlT eh, IntT pp, IntT lp);
  1156.   Map physical to logical pages
  1157.  
  1158. IntT PAS EMSquery(NOARG);
  1159.   Get free EMS page count
  1160.  
  1161. IntT PAS EMSrest(_HdlT eh);
  1162.   Restore EMS handle's pages
  1163.  
  1164. IntT PAS EMSsave(_HdlT eh);
  1165.   Save EMS handle's pages
  1166.  
  1167. IntT PAS EMSsetnam(_HdlT eh, ChrFP np);
  1168.   Set EMS handle name
  1169.  
  1170. IntT PAS EMSstat(NOARG);
  1171.   Get EMS status
  1172.  
  1173.                          Extended Memory Routines
  1174.  
  1175.  
  1176. _HdlT PAS XMSalloc(WrdT nk);
  1177.   Allocate <nk> Kb XMS block
  1178.  
  1179. IntT PAS XMScopy(_XmsFP xp);
  1180.   Copy/move XMS block
  1181.  
  1182. IntT PAS XMSfree(_HdlT xh);
  1183.   Free XMS block
  1184.  
  1185. IntT PAS XMSavail(NOARG);
  1186.   Get available XMS in Kb
  1187.  
  1188. IntT PAS XMSquery(_HdlT xh);
  1189.   Query XMS handle
  1190.  
  1191. _AdrT PAS XMSlock(_HdlT xh);
  1192.   Lock XMS block
  1193.  
  1194. IntT PAS XMSrealloc(_HdlT xh, WrdT ns);
  1195.   Reallocate XMS block
  1196.  
  1197. IntT PAS XMSunlock(_HdlT xh);
  1198.   Unlock XMS block
  1199.  
  1200. IntT PAS _A20_LD(NOARG);
  1201.   Local A20 disable
  1202.  
  1203. IntT PAS _A20_LE(NOARG);
  1204.   Local A20 enable
  1205.  
  1206.  
  1207. TesSeRact CXL V5.5 Quick Reference Guide                            Page 17
  1208. IntT PAS _A20chk(NOARG);
  1209.   Check A20 status
  1210.  
  1211. IntT PAS _A20dis(NOARG);
  1212.   Global A20 disable
  1213.  
  1214. IntT PAS _A20ena(NOARG);
  1215.   Global A20 enable
  1216.  
  1217. IntT PAS UMBalloc(WrdT np, _SegFP ps);
  1218.   Allocate <np> paragraph UMB
  1219.  
  1220. IntT PAS UMBfree(_SegT ps);
  1221.   Free UMB
  1222.  
  1223. IntT PAS HMAalloc(NOARG);
  1224.   Allocate HMA
  1225.  
  1226. IntT PAS HMAfree(NOARG);
  1227.   Free HMA
  1228.  
  1229.                              Printer Subsystem
  1230.  
  1231.  
  1232. VOID PAS _LPputC(IntT ch);
  1233.   Put character to printer (Internal)
  1234.  
  1235. VOID lcrlf(NOARG);
  1236.   Print newline (carriage-return/line-feed)
  1237.  
  1238. VOID lprintc(IntT ch);
  1239.   Print character
  1240.  
  1241. VOID CDC lprintf(ChrP fs, ...);
  1242.   Print formatted, printf()-style
  1243.  
  1244. VOID CTYP lprintn(ChrP ps, IntT nc);
  1245.   Print <n> characters
  1246.  
  1247. VOID CTYP lprintns(ChrP ps, IntT nc);
  1248.   Print width-limited string
  1249.  
  1250. VOID CTYP lprints(ChrP ps);
  1251.   Print string
  1252.  
  1253. VOID CTYP lprintsb(ChrP ps, IntT nr);
  1254.   Print boldfaced string
  1255.  
  1256. VOID CTYP lprintsu(ChrP ps);
  1257.   Print underlined string
  1258.  
  1259. VOID CTYP scrndump(NOARG);
  1260.   Dump screen to printer
  1261.  
  1262. VOID CTYP windump(IntT sr, IntT sc, IntT er, IntT ec);
  1263.   Dump window to printer
  1264.  
  1265.  
  1266. Page 18                            TesSeRact CXL V5.5 Quick Reference Guide
  1267.  
  1268.                               OpSys Subsystem
  1269.  
  1270.  
  1271. IntT PAS _ChgDir(ChrP p);
  1272.   Change directory
  1273.  
  1274. IntT PAS _ChgDrv(IntT d);
  1275.   Change current drive
  1276.  
  1277. IntT PAS _FndFst(ChrP p, FfbP f, IntT a);
  1278.   Find first matching file
  1279.  
  1280. IntT PAS _FndNxt(FfbP f);
  1281.   Find next matching file
  1282.  
  1283. VOID PAS _GetDir(IntT d, ChrP p);
  1284.   Get current directory
  1285.  
  1286. IntT PAS _GetDrv(NOARG);
  1287.   Get current drive
  1288.  
  1289. IntT PAS _InpByt(WrdT p);
  1290.   Input byte from port <p>
  1291.  
  1292. WrdT PAS _InpWrd(WrdT p);
  1293.   Input word from port <p>
  1294.  
  1295. VOID PAS _IntDis(NOARG);
  1296.   Disable interrupts
  1297.  
  1298. VOID PAS _IntEna(NOARG);
  1299.   Enable interrupts
  1300.  
  1301. VOID PAS _OutByt(WrdT p, IntT b);
  1302.   Output byte to port <p>
  1303.  
  1304. VOID PAS _OutWrd(WrdT p, WrdT w);
  1305.   Output word to port <p>
  1306.  
  1307.                           Bottom Level Functions
  1308.  
  1309.                           Video Access Subsystem
  1310.  
  1311.                           Direct Hardware Access
  1312.  
  1313.  
  1314. WrdT VidOfs(IntT r, IntT c);
  1315.   Calculate screen offset
  1316.  
  1317. WrdT PAS VgetDvb(WrdT v);
  1318.   Get DV shadow-buffer address (Internal)
  1319.  
  1320. IntT PAS VisaEga(NOARG);
  1321.   Test for EGA video BIOS (Internal)
  1322.  
  1323.  
  1324.  
  1325. TesSeRact CXL V5.5 Quick Reference Guide                            Page 19
  1326. IntT PAS VisaPs2(NOARG);
  1327.   Test for PS/2 video BIOS (Internal)
  1328.  
  1329. VOID PAS VsetChr(WrdT f);
  1330.   Set EGA/VGA character set (Internal)
  1331.  
  1332.                             Ultravision Support
  1333.  
  1334.  
  1335. VOID PAS _VuvDis(NOARG);
  1336.   Disable Ultravision
  1337.  
  1338. VOID PAS _VuvEna(NOARG);
  1339.   Enable Ultravision
  1340.  
  1341. IntT PAS _VuvGet(NOARG);
  1342.   Get Ultravision mode
  1343.  
  1344. VOID PAS _VuvSet(IntT md);
  1345.   Set Ultravision mode
  1346.  
  1347. VOID PAS _VuvVal(IntT md);
  1348.   Validate Ultravision mode
  1349.  
  1350.                           Internal Hardware Calls
  1351.  
  1352.  
  1353. VOID _VgetN(VcelP p, VposT v, IntT n);
  1354.   Get <n> VcelTs at position <v>
  1355.  
  1356. VOID _VgetS(BytP p, VposT v, IntT n);
  1357.   Get <n> characters at position <v>
  1358.  
  1359. VOID _VgetW(VposT v, VcelT x);
  1360.   Get VcelT at position <v>
  1361.  
  1362. VOID _VgetX(VcelT x);
  1363.   Get VcelT at cursor via BIOS
  1364.  
  1365. VOID _VputA(VposT v, IntT a, IntT n);
  1366.   Put <n> attributes at position <v>
  1367.  
  1368. VOID _VputB(VposT v, IntT c, IntT a, IntT n);
  1369.   Put <n> character/attribute pairs at position <v>
  1370.  
  1371. VOID _VputC(VposT v, IntT c, IntT n);
  1372.   Put <n> characters at position <v>
  1373.  
  1374. VOID _VputN(VposT v, VcelP p, WrdT n);
  1375.   Put <n> VcelTs at position <v>
  1376.  
  1377. VOID _VputS(VposT v, ChrP p,  IntT a);
  1378.   Put string with attribute at position <v>
  1379.  
  1380. VOID _VputW(VposT v, VcelT c, IntT n);
  1381.   Put VcelT at position <v>
  1382.  
  1383.  
  1384. Page 20                            TesSeRact CXL V5.5 Quick Reference Guide
  1385. VOID _VputX(VcelT x);
  1386.   Put VcelT at cursor via BIOS
  1387.  
  1388.                          Keyboard Access Subsystem
  1389.  
  1390.  
  1391. IntT CTYP KscnCod(IntT c);
  1392.   Return scan-code for ASCII
  1393.  
  1394. VOID KcapOff(NOARG);
  1395.   Toggle CapsLock OFF
  1396.  
  1397. VOID KcapOn(NOARG);
  1398.   Toggle CapsLock ON
  1399.  
  1400. VOID KextOff(NOARG);
  1401.   Disable extended BIOS support
  1402.  
  1403. VOID KextOn(NOARG);
  1404.   Enable extended BIOS support
  1405.  
  1406. VOID KinsOff(NOARG);
  1407.   Toggle Insert OFF
  1408.  
  1409. VOID KinsOn(NOARG);
  1410.   Toggle Insert ON
  1411.  
  1412. VOID KnumOff(NOARG);
  1413.   Toggle NumLock OFF
  1414.  
  1415. VOID KnumOn(NOARG);
  1416.   Toggle NumLock ON
  1417.  
  1418. IntT PAS _KeyExt(NOARG);
  1419.   Test for extended BIOS (Internal)
  1420.  
  1421. KeyT PAS _KeyGet(NOARG);
  1422.   Get waiting keycode via BIOS
  1423.  
  1424. IntT PAS _KeyHit(NOARG);
  1425.   Test for waiting keycode via BIOS
  1426.  
  1427. VOID PAS _KeySet(IntT b, IntT s);
  1428.   Toggle keyboard state (Internal)
  1429.  
  1430. WrdT PAS _KeySta(NOARG);
  1431.   Get keyboard status (Internal)
  1432.  
  1433. IntT KqueChk(NOARG);
  1434.   Test for enqueued keycodes
  1435.  
  1436. VOID PAS KqueClr(NOARG);
  1437.   Clear internal FIFO queue
  1438.  
  1439. KeyT PAS KqueGet(NOARG);
  1440.   Get keycode at head of queue
  1441.  
  1442.  
  1443. TesSeRact CXL V5.5 Quick Reference Guide                            Page 21
  1444. IntT PAS KquePut(KeyT k);
  1445.   Add keycode to tail of queue
  1446.  
  1447. IntT CTYP KqueStr(ChrP s);
  1448.   Add string to tail of queue
  1449.  
  1450.                           Mouse Access Subsystem
  1451.  
  1452.  
  1453. VOID PAS MSclear(NOARG);
  1454.   Clear pending button counts
  1455.  
  1456. VOID PAS MScurs(WrdT t, WrdT s, WrdT c);
  1457.   Set text-mode cursor mask
  1458.  
  1459. VOID PAS MSgoto(IntT r, IntT c);
  1460.   Position cursor at row, column
  1461.  
  1462. VOID PAS MShide(NOARG);
  1463.   Hide cursor
  1464.  
  1465. VOID PAS MShome(NOARG);
  1466.   Home cursor, clear button counts
  1467.  
  1468. IntT PAS MSinit(NOARG);
  1469.   Detect mouse and initialize
  1470.  
  1471. VOID PAS MSkeys(KeyT l, KeyT r, KeyT m);
  1472.   Assign left, right, middle button keycodes
  1473.  
  1474. VOID PAS MSlimit(IntT sr, IntT sc, IntT er, IntT ec);
  1475.   Set screen limits
  1476.  
  1477. VOID PAS MSmove(NOARG);
  1478.   Get mouse motion
  1479.  
  1480. IntT PAS MSpop(NOARG);
  1481.   Pop (restore) state and position
  1482.  
  1483. VOID PAS MSpress(IntT b);
  1484.   Get press-count for button
  1485.  
  1486. VOID PAS MSpush(IntT m);
  1487.   Push (preserve) state and position, set new state
  1488.  
  1489. VOID PAS MSreles(IntT b);
  1490.   Get release-count for button
  1491.  
  1492. VOID MSshow(VOID);
  1493.   Show hidden cursor
  1494.  
  1495. VOID PAS MSspeed(IntT x, IntT y);
  1496.   Set speed in mickeys/pixel
  1497.  
  1498. VOID PAS MSstat(NOARG);
  1499.   Get current position and button status
  1500.  
  1501.  
  1502. Page 22                            TesSeRact CXL V5.5 Quick Reference Guide
  1503. VOID PAS MSterm(NOARG);
  1504.   Terminate mouse-support
  1505.  
  1506. VOID PAS MSupdat(IntT sr, IntT sc, IntT er, IntT ec);
  1507.   Set conditional-update region
  1508.  
  1509. VOID PAS _MSget(NOARG);
  1510.   Get current state (Internal)
  1511.  
  1512. VOID PAS _MSpos(NOARG);
  1513.   Position cursor (Internal)
  1514.  
  1515. VOID PAS _MSset(NOARG);
  1516.   Set current state (Internal)
  1517.  
  1518. VOID PAS _MSsho(IntT s);
  1519.   Show cursor (Internal)
  1520.  
  1521.                          Internal Level Functions
  1522.  
  1523.                            Conversion Subsystem
  1524.  
  1525.  
  1526. DblT CTYP cvtcf(ChrP fp);
  1527.   Convert TCXL input-string to floating-point
  1528.  
  1529. IntT CTYP cvtci(ChrP fp);
  1530.   Convert TCXL input-string to integer
  1531.  
  1532. VOID CTYP cvtfc(ChrP fp, DblT dv, IntT fw, IntT nd);
  1533.   Convert floating-point to TCXL input-string
  1534.  
  1535. VOID CTYP cvtic(ChrP fp, IntT iv, IntT fs);
  1536.   Convert integer to TCXL input-string
  1537.  
  1538. IntT CTYP touplow(ChrP s, ChrP p, IntT c);
  1539.   Convert character to inital-capitals
  1540.  
  1541.                          Format Control Subsystem
  1542.  
  1543.  
  1544. VOID CTYP FmtBack(ChrI f, ChrI o);
  1545.   Backspace format-string and output buffer
  1546.  
  1547. IntT CTYP FmtChar(IntT c, IntT f);
  1548.   Validate character
  1549.  
  1550. IntT CTYP FmtExcl(ChrI f, IntT c);
  1551.   Test character against exclusion set
  1552.  
  1553. VOID CTYP FmtFlip(IntT c);
  1554.   Toggle format-string option
  1555.  
  1556. IntT CTYP FmtIncl(ChrI f, IntT c);
  1557.   Test character against inclusion set
  1558.  
  1559.  
  1560.  
  1561. TesSeRact CXL V5.5 Quick Reference Guide                            Page 23
  1562. IntT CTYP FmtInit(ChrP f, IntT u);
  1563.   Inititalize and verify format-string
  1564.  
  1565. VOID FmtPutF(VfiCP f);
  1566.   Assign backspace function
  1567.  
  1568.                             Near/Far Subsystem
  1569.  
  1570.  
  1571. MK_FP(s,o)
  1572.   Make VOID far-pointer from segment, offset
  1573.  
  1574. MK_FPT(t,s,o)
  1575.   Make typed far-pointer from segment, offset
  1576.  
  1577. VOID PAS _FarCpy(WrdT st, WrdT ot, WrdT sf, WrdT of, WrdT n);
  1578.   Copy bytes at segment,offset to segment,offset
  1579.  
  1580. VOID PAS _CpyFar(BytFP t, BytFP f, WrdT n);
  1581.   Copy bytes at far pointer to far pointer
  1582.  
  1583. VOID PAS _FarGet(BytP p, WrdT s, WrdT o, WrdT n);
  1584.   Copy bytes at segment, offset to pointer
  1585.  
  1586. VOID PAS _GetFar(BytP p, BytFP f, WrdT n);
  1587.   Copy bytes at far pointer to pointer
  1588.  
  1589. VOID PAS _FarPut(WrdT s, WrdT o, BytP p, WrdT n);
  1590.   Copy bytes at pointer to segment, offset
  1591.  
  1592. VOID PAS _PutFar(BytFP t, BytP p, WrdT n);
  1593.   Copy bytes at pointer to far pointer
  1594.  
  1595.  
  1596.                            Commonly-Used Equates
  1597.  
  1598.  
  1599.   #define WctlAct (_WinCtl.wact)        /* active window        */
  1600.   #define TcxlErr (_TcxlCtl.terr)       /* global error code    */
  1601.   #define VidSeg  (_VidCtl.vseg)        /* video buffer segment */
  1602.   #define VidPag  (_VidCtl.vpag)        /* video display page   */
  1603.   #define VidWid  (_VidCtl.vwid)        /* video columns wide   */
  1604.   #define VidDep  (_VidCtl.vdep)        /* video rows deep      */
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620. Page 24                            TesSeRact CXL V5.5 Quick Reference Guide
  1621.                        Appendix A - Text Attributes
  1622.  
  1623.  
  1624.   Foreground Colors                   Background Colors
  1625.  
  1626.   Identifier   Value   Color          Identifier   Value   Color
  1627.   --------------------------          --------------------------
  1628.   BLACK........0x00....Black          _BLACK.......0x00....Black
  1629.   BLUE.........0x01....Blue           _BLUE........0x10....Blue
  1630.   GREEN........0x02....Green          _GREEN.......0x20....Green
  1631.   CYAN.........0x03....Cyan           _CYAN........0x30....Cyan
  1632.   RED..........0x04....Red            _RED.........0x40....Red
  1633.   MAGENTA......0x05....Magenta        _MAGENTA.....0x50....Magenta
  1634.   BROWN........0x06....Brown          _BROWN.......0x60....Brown
  1635.   LGREY........0x07....Light Grey     _LGREY.......0x70....Light Grey
  1636.   DGREY........0x08....Dark Grey      _DGREY.......0x80....Dark Grey
  1637.   LBLUE........0x09....Light Blue     _LBLUE.......0x90....Light Blue
  1638.   LGREEN.......0x0A....Light Green    _LGREEN......0xA0....Light Green
  1639.   LCYAN........0x0B....Light Cyan     _LCYAN.......0xB0....Light Cyan
  1640.   LRED.........0x0C....Light Red      _LRED........0xC0....Light Red
  1641.   LMAGENTA.....0x0D....Light Magenta  -LMAGENTA....0xD0....Light Magenta
  1642.   YELLOW.......0x0E....Yellow         _YELLOW......0xE0....Yellow
  1643.   WHITE........0x0F....White          -WHITE.......0xF0....White
  1644.   INTENSE......0x08....Intensity Bit  _BLINK.......0x80....Blink/Int Bit
  1645.  
  1646.  
  1647.   Monochrome Colors
  1648.  
  1649.   Identifier   Value   Description
  1650.   --------------------------------
  1651.   MONO_N.......0x07....Normal
  1652.   MONO_I.......0x0F....Intense
  1653.   MONO_U.......0x01....Underline
  1654.   MONO_IU......0x09....Intense Underline
  1655.   MONO_R.......0x70....Reverse
  1656.   MONO_NB......0x87....Blink Normal
  1657.   MONO_IB......0x8F....Blink Intense
  1658.   MONO_UB......0x81....Blink Underline
  1659.   MONO_IUB.....0x89....Blink Intense Underline
  1660.   MONO_RB......0xF0....Blink Referse
  1661.   MONO_INT.....0x80....Blink Bit
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679. TesSeRact CXL V5.5 Quick Reference Guide                            Page 25
  1680.                         Appendix B - Keycode Table
  1681.  
  1682.                    (Note:  All Keycodes are Hex values)
  1683.               Also See TcxlCod.H for Keyboard Mapping Equates
  1684.  
  1685.  
  1686.   Key   Norm  Shift  Ctrl  Alt        Key      Norm  Shift  Ctrl  Alt
  1687.   ----  ----  -----  ----  ----       ----     ----  -----  ----  ----
  1688.   A.....1E61..1E41...1E01..1E00       F1.......3B00..5400...5E00..6800
  1689.   B.....3062..3042...3002..3000       F2.......3C00..5500...5F00..6900
  1690.   C.....2E63..2E42...2E03..2E00       F3.......3D00..5600...6000..6A00
  1691.   D.....2064..2044...2004..2000       F4.......3E00..5700...6100..6B00
  1692.   E.....1265..1245...1205..1200       F5.......3F00..5800...6200..6C00
  1693.   F.....2166..2146...2106..2100       F6.......4000..5900...6300..6D00
  1694.   G.....2267..2247...2207..2200       F7.......4100..5A00...6400..6E00
  1695.   H.....2368..2348...2308..2300       F8.......4200..5B00...6500..6F00
  1696.   I.....1769..1749...1709..1700       F9.......4300..5C00...6600..7000
  1697.   J.....246A..244A...240A..2400       F10......4400..5D00...6700..7100
  1698.   K.....256B..254B...250B..2500       Enter....1C0D..1C0D...1C0A..N/A
  1699.   L.....266C..264C...260C..2600       Ins......5200..5230...N/A...N/A
  1700.   M.....326D..324D...320D..3200       Del......5300..532E...N/A...N/A
  1701.   N.....316E..314E...310E..3100       Esc......011B..011B...011B..N/A
  1702.   O.....186F..184F...180F..1800       Home.....4700..4737...7700..N/A
  1703.   P.....1970..1950...1910..1900       End......4F00..4F31...7500..N/A
  1704.   Q.....1071..1051...1011..1000       PgUp.....4900..4939...8400..N/A
  1705.   R.....1372..1352...1312..1300       PgDn.....5100..5133...7600..N/A
  1706.   S.....1F73..1F53...1F13..1F00       <Tab>....0F09..0F00...N/A...N/A
  1707.   T.....1474..1454...1414..1400       <BckSpc>.0E08..0E08...0E7F..N/A
  1708.   U.....1675..1655...1615..1600       <LfArr>..4B00..4B34...7300..N/A
  1709.   V.....2F76..2F56...2F16..2F00       <RtArr>..4D00..4D36...7400..N/A
  1710.   W.....1177..1157...1117..1100       <UpArr>..4800..4838...N/A...N/A
  1711.   X.....2D78..2D58...2D18..2D00       <DnArr>..5000..5032...N/A...N/A
  1712.   Y.....1579..1559...1519..1500       <Kpad 5>.N/A...4C35...N/A...N/A
  1713.   Z.....2C7A..2C5A...2C1A..2C00       <Grey *>.372A..N/A....7200..N/A
  1714.   1.....0231..0221...N/A...7800       <Grey ->.4A2D..4A2D...N/A...N/A
  1715.   2.....0332..0340...0300..7900       <Grey +>.4E2B..4E2B...N/A...N/A
  1716.   3.....0433..0423...N/A...7A00
  1717.   4.....0534..0524...N/A...7B00
  1718.   5.....0635..0625...N/A...7C00
  1719.   6.....0736..075E...071E..7D00
  1720.   7.....0837..0826...N/A...7E00
  1721.   8.....0938..092A...N/A...7F00
  1722.   9.....0A39..0A28...N/A...8000
  1723.   0.....0B30..0B29...N/A...8100
  1724.   ,.....332C..333C...N/A...N/A
  1725.   ......342E..343E...N/A...N/A
  1726.   /.....352F..353F...N/A...N/A
  1727.   ;.....273B..273A...N/A...N/A
  1728.   '.....2827..2822...N/A...N/A
  1729.   [.....1A5B..1A7B...1A1B..N/A
  1730.   ].....1B5D..1B7D...1B1D..N/A
  1731.   `.....2960..297E...N/A...N/A
  1732.   -.....0C2D..0C5F...0C1F..8200
  1733.   =.....0D3D..0D2B...N/A...8300
  1734.   \.....2B5C..2B7C...2B1C..N/A
  1735.  
  1736.  
  1737.  
  1738. Page 26                            TesSeRact CXL V5.5 Quick Reference Guide
  1739.                      Appendix C - Other System Equates
  1740.  
  1741.  
  1742.                                 Menu System
  1743.  
  1744.                   /* Menu Feature Masks */
  1745.   #define ITM_PUL     0x01       /* has pull-down menu attached */
  1746.   #define ITM_NSL     0x02       /* not selectable              */
  1747.   #define ITM_AFT     0x04       /* close after select func     */
  1748.   #define ITM_ALL     0x08       /* close all when selected     */
  1749.   #define ITM_BEF     0x10       /* close before select func    */
  1750.   #define ITM_DSP     0x20       /* redisplay                   */
  1751.  
  1752.                   /* Menu Types */
  1753.   #define MNU_HOR     0x01           /* horizontal menu         */
  1754.   #define MNU_VER     0x02           /* vertical menu           */
  1755.   #define MNU_OMN     0x07           /* omnidirectional menu    */
  1756.   #define MNU_PUL     0x08           /* pull-down menu          */
  1757.   #define MNU_NQS     0x10           /* disable quick selection */
  1758.   #define MNU_SAV     0x20           /* save last bar position  */
  1759.   #define MNU_DSP     0x40           /* always display          */
  1760.   #define MNU_USE     0x80           /* use current window       /
  1761.  
  1762.                                Entry System
  1763.  
  1764.                   /* Field Feature Bits */
  1765.   #define FLD_NUL 0x0000       /* no special features defined   */
  1766.   #define FLD_LWR 0x0001       /* convert chars to lowercase    */
  1767.   #define FLD_UPR 0x0002       /* convert chars to uppercase    */
  1768.   #define FLD_MIX 0x0004       /* convert chars to mixed case   */
  1769.   #define FLD_PAS 0x0008       /* do not echo typed-in chars    */
  1770.   #define FLD_NUM 0x0010       /* treat field as numeric        */
  1771.   #define FLD_CUR 0x0020       /* currency field                */
  1772.   #define FLD_NWR 0x0040       /* no auto-wrap to next field    */
  1773.   #define FLD_LJS 0x0080       /* left justify                  */
  1774.   #define FLD_RJS 0x0100       /* right justify                 */
  1775.   #define FLD_TRM 0x0200       /* trim end spaces               */
  1776.  
  1777.                   /* Field Movement */
  1778.   #define FDF_MOV 0x0F         /* movement                      */
  1779.   #define FDF_BEG 0x01         /* to first field                */
  1780.   #define FDF_END 0x02         /* to last field                 */
  1781.   #define FDF_UP  0x04         /* to previous field             */
  1782.   #define FDF_DWN 0x08         /* to next field                 */
  1783.  
  1784.                   /* Field Control */
  1785.   #define FDF_MOD 0x70         /* update mode                   */
  1786.   #define FDF_INI 0x10         /*    initial                    */
  1787.   #define FDF_CHG 0x20         /*    change                     */
  1788.   #define FDF_CND 0x40         /*    conditional                */
  1789.   #define FDF_DSP 0x80         /* re-display                    */
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797. TesSeRact CXL V5.5 Quick Reference Guide                            Page 27
  1798.                   /* Entry Control */
  1799.   #define EDF_NUM 0x01         /* decimal format field          */
  1800.   #define EDF_CUR 0x02         /* currency field formatting     */
  1801.   #define EDF_INS 0x04         /* insert mode                   */
  1802.   #define EDF_HIL 0x08         /* highlight field               */
  1803.   #define EDF_KEY 0x80         /* field hot-keys assigned       */
  1804.  
  1805.                                Window System
  1806.  
  1807.                     /* Border Sides */
  1808.   #define   BRD_TOP 0x00                         /* Top Side    */
  1809.   #define   BRD_BOT 0x01                         /* Bottom Side */
  1810.   #define   BRD_LFT 0x02                         /* Left Side   */
  1811.   #define   BRD_RGT 0x03                         /* Right Side  */
  1812.  
  1813.                     /* Border Types */
  1814.   #define   BOX_SNG 0x00          /* all single                 */
  1815.   #define   BOX_DBL 0x01          /* all double                 */
  1816.   #define   BOX_VER 0x02          /* horiz single, vert double  */
  1817.   #define   BOX_HOR 0x03          /* horiz double, vert single  */
  1818.   #define   BOX_HVY 0x04          /* heavy lines                */
  1819.   #define   BOX_SPA 0x05          /* spaces                     */
  1820.  
  1821.                     /* Centering Flags */
  1822.   #define   CNT_HOR 0x01                   /* Center Horizontal */
  1823.   #define   CNT_VER 0x02                   /* Center Vertical   */
  1824.   #define   CNT_CNT 0x03                   /* Center Both       */
  1825.  
  1826.                     /* Direction Codes */
  1827.   #define   DIR_DWN 0x00                               /* Down  */
  1828.   #define   DIR_UP  0x01                               /* Up    */
  1829.   #define   DIR_LFT 0x02                               /* Left  */
  1830.   #define   DIR_RGT 0x03                               /* Right */
  1831.  
  1832.                     /* Title Positions */
  1833.   #define   TTL_LFT 0x01                     /* left justified  */
  1834.   #define   TTL_CNT 0x02                     /* centered        */
  1835.   #define   TTL_RGT 0x03                     /* right justified */
  1836.  
  1837.  
  1838.                            Information Subsystem
  1839.  
  1840.                     /* Machine ID's returned by Machid() */
  1841.   #define  IBMPC    0xFF     /* IBM PC                          */
  1842.   #define  IBMPCXT  0xFE     /* IBM PC/XT, Portable, old DeskPro*/
  1843.   #define  IBMPCJR  0xFD     /* IBM PCjr                        */
  1844.   #define  IBMPCAT  0xFC     /* IBM PC/AT, XT/286, PS/2 50,60   */
  1845.   #define  IBMPCXT2 0xFB     /* IBM PC/XT                       */
  1846.   #define  IBMPS30  0xFA     /* IBM PS/2 model 30               */
  1847.   #define  IBMCONV  0xF9     /* IBM PC Convertible              */
  1848.   #define  IBMPS80  0xF8     /* IBM PS/2 model 80               */
  1849.   #define  SPERRYPC 0x30     /* Sperry PC                       */
  1850.   #define  CPQPORT  0x2D     /* old Compaq portable             */
  1851.   #define  CPQPLUS  0x9A     /* old Compaq plus                 */
  1852.   #define  HP110    0xB6     /* HP-110 portable                 */
  1853.  
  1854.  
  1855.  
  1856. Page 28                            TesSeRact CXL V5.5 Quick Reference Guide
  1857.                     /* Hardware option flag bits */
  1858.   #define  HDW_GAM  0x01                    /* game-adapter     */
  1859.   #define  HDW_NDP  0x02                    /* math-coprocessor */
  1860.   #define  HDW_MOU  0x04                    /* PS/2 mouse       */
  1861.   #define  HDW_MDM  0x08                    /* PS/2 modem       */
  1862.   #define  HDW_C40  0x10                    /* 40-col color     */
  1863.   #define  HDW_C80  0x20                    /* 80-col color     */
  1864.   #define  HDW_M80  0x40                    /* 80-col mono      */
  1865.  
  1866.                     /* TcxlSys values */
  1867.   #define   SYS_DOS 0x0000              /* MS-DOS/PC-DOS/DR_DOS */
  1868.   #define   SYS_JDS 0x0001              /* Japan DOS            */
  1869.   #define   SYS_OS2 0x0002              /* OS/2                 */
  1870.   #define   SYS_XNX 0x0003              /* MS/SCO Xenix         */
  1871.   #define   SYS_UNX 0x0004              /* AT&T Unix            */
  1872.   #define   SYS_BSD 0x0005              /* BSD Unix             */
  1873.   #define   SYS_AIX 0x0006              /* IBM AIX              */
  1874.   #define   SYS_VMS 0x0007              /* DEC VMS              */
  1875.                     /* TcxlEnv bits (DOS) */
  1876.   #define   ENV_MOU 0x0001              /* Mouse                */
  1877.   #define   ENV_KEY 0x0002              /* Enhanced Keyboard    */
  1878.   #define   ENV_UV  0x0004              /* Ultravision          */
  1879.   #define   ENV_ESA 0x0010              /* EISA bus             */
  1880.   #define   ENV_MCA 0x0020              /* MCA bus              */
  1881.  
  1882.  
  1883.                           Video Access Subsystem
  1884.  
  1885.   #define   V_NONE          0x00      /* adapter types returned */
  1886.   #define   V_MDA           0x01      /* ... by vidtype()       */
  1887.   #define   V_EGAMONO       0x02
  1888.   #define   V_MCGAMONO      0x03
  1889.   #define   V_VGAMONO       0x04
  1890.   #define   V_HGC           0x05
  1891.   #define   V_HGCPLUS       0x06
  1892.   #define   V_INCOLOR       0x07
  1893.   #define   V_CGA           0x08
  1894.   #define   V_EGA           0x09
  1895.   #define   V_MCGA          0x0A
  1896.   #define   V_VGA           0x0B
  1897.                     /* video parameter settings */
  1898.   #define   VP_DMA  0x00       /* direct screen writes          */
  1899.   #define   VP_CGA  0x01       /* direct screen writes, no snow */
  1900.   #define   VP_BIO  0x02       /* BIOS screen writes            */
  1901.   #define   VP_MON  0x03       /* monochrome translate on       */
  1902.   #define   VP_COL  0x04       /* monochrome translate off      */
  1903.  
  1904.                     /* video-flag bits */
  1905.   #define   VF_MON  0x01              /* monochrome adapter     */
  1906.   #define   VF_MAP  0x02              /* map to mono attributes */
  1907.   #define   VF_CGA  0x04              /* suppress CGA snow      */
  1908.   #define   VF_BIO  0x08              /* use video BIOS         */
  1909.   #define   VF_DQV  0x10              /* DesqView installed     */
  1910.  
  1911.                     /*  Ultravision Flags */
  1912.   #define   VU_RES  0x80             /* Ultravision is resident */
  1913.   #define   VU_ACT  0x40              /* Ultravision is active  */
  1914.  
  1915. TesSeRact CXL V5.5 Quick Reference Guide                            Page 29
  1916.  
  1917.                     /* Ultravision Card Codes */
  1918.   #define   VU_GEC  0x00      /* Generic EGA w/ Color monitor   */
  1919.   #define   VU_GEM  0x04      /* Generic EGA w/ Mono monitor    */
  1920.   #define   VU_GVV  0x05      /* Generic VGA w/ VGA monitor     */
  1921.   #define   VU_PVV  0x06      /* Paradise VGA w/VGA monitor     */
  1922.   #define   VU_HVV  0x07      /* Super VGA w/VGA monitor        */
  1923.   #define   VU_BEE  0x0A      /* UV EGA Booster w/EGA monitor   */
  1924.   #define   VU_NEE  0x0B      /* NEC GB-1 w/EGA monitor         */
  1925.   #define   VU_SEE  0x0C      /* Genoa SuperEGA w/EGA monitor   */
  1926.   #define   VU_AEE  0x0D      /* Alt EGA Booster w/EGA monitor  */
  1927.   #define   VU_AEM  0x0E      /* Alt EGA Booster w/Mono monitor */
  1928.   #define   VU_GVA  0x19      /* Generic VGA w/Auto monitor     */
  1929.   #define   VU_PVA  0x1A      /* Paradise VGA w/Auto monitor    */
  1930.   #define   VU_HVA  0x1B      /* Super VGA w/Auto monitor       */
  1931.   #define   VU_BEA  0x14      /* UV EGA Booster w/Auto monitor  */
  1932.   #define   VU_NEA  0x15      /* NEC GB-1 w/Auto monitor        */
  1933.   #define   VU_SEA  0x16      /* Genoa SuperEGA w/Auto monitor  */
  1934.   #define   VU_AEA  0x17      /* Alt EGA Booster w/Auto monitor */
  1935.  
  1936.                     /* Ultravision Video Modes */
  1937.   #define   VU_A25  0x11     /* 80x25                           */
  1938.   #define   VU_A43  0x12     /* 80x43 on EGA, 80x50 on VGA      */
  1939.   #define   VU_A34  0x13     /* 80x34 on EGA, 80x36 on VGA      */
  1940.   #define   VU_A60  0x14     /* 80x60 on EGA, 80x63 on VGA      */
  1941.   #define   VU_B25  0x19     /* 94x25                           */
  1942.   #define   VU_B43  0x1A     /* 94x43 on EGA, 94x50 on VGA      */
  1943.   #define   VU_B36  0x1B     /* 94x36                           */
  1944.   #define   VU_B63  0x1C     /* 94x63                           */
  1945.   #define   VU_C25  0x21     /* 108x25                          */
  1946.   #define   VU_C43  0x22     /* 108x43 on EGA, 108x50 on VGA    */
  1947.   #define   VU_C34  0x23     /* 108x34 on EGA, 108x36 on VGA    */
  1948.   #define   VU_C60  0x24     /* 108x60 on EGA, 108x63 on VGA    */
  1949.   #define   VU_D25  0x31     /* 120x25                          */
  1950.   #define   VU_D43  0x32     /* 120x43 on EGA, 120x50 on VGA    */
  1951.   #define   VU_D36  0x39     /* 120x36                          */
  1952.   #define   VU_D63  0x3A     /* 120x63                          */
  1953.   #define   VU_E25  0x33     /* 132x25                          */
  1954.   #define   VU_E44  0x34     /* 132x44, 132x50 on SuperVGA only */
  1955.   #define   VU_E36  0x3B     /* 132x36                          */
  1956.   #define   VU_E60  0x3C     /* 132x60                          */
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974. Page 30                            TesSeRact CXL V5.5 Quick Reference Guide
  1975.  
  1976.                          Keyboard Access Subsystem
  1977.  
  1978.   #define   KEY_RSH 0x01               /* [right shift] pressed */
  1979.   #define   KEY_LSH 0x02               /* [left shift] pressed  */
  1980.   #define   KEY_CTL 0x04               /* [Ctrl] pressed        */
  1981.   #define   KEY_ALT 0x08               /* [Alt] pressed         */
  1982.   #define   KEY_SCR 0x10               /* [Scroll Lock] toggled */
  1983.   #define   KEY_NUM 0x20               /* [Num Lock] toggled    */
  1984.   #define   KEY_CAP 0x40               /* [Caps Lock] toggled   */
  1985.   #define   KEY_INS 0x80               /* [Ins] toggled         */
  1986.  
  1987.   #define   KEY_EXT 0x80          /* KctlFlg extended functions */
  1988.   #define   KEY_MNU 0x01          /* KctlFlg currently in menu  */
  1989.   #define   KEY_SYS 0x02          /* KctlFlg internal usage     */
  1990.   #define   KEY_KBD 0x00          /* KctlSrc keyboard           */
  1991.   #define   KEY_QUE 0x01          /* KctlSrc key-queue          */
  1992.   #define   KEY_MOU 0x02          /* KctlSrc mouse              */
  1993.  
  1994.   #define   KEY_MAX 128           /* size of key-queue          */
  1995.   #define   KEY_BRK 0xFFFF        /* Ctrl-Brk ret from _KeyGet  */
  1996.  
  1997.  
  1998.                           Mouse Access Subsystem
  1999.  
  2000.   #define   MOU_NONE        0x00          /* no mouse support   */
  2001.   #define   MOU_KEYS        0x01          /* emulate arrow keys */
  2002.   #define   MOU_CURS        0x02          /* free-moving cursor */
  2003.   #define   MOU_FULL        0x03          /* full mouse support */
  2004.   #define   MOU_3BTN        0x40          /* 3-button mouse     */
  2005.   #define   MOU_INIT        0x80          /* mouse initialized  */
  2006.  
  2007.  
  2008.                          Format Control Subsystem
  2009.  
  2010.                     /* Format Escapes */
  2011.   #define   FMT_CPY 0x01                /* 'C'  copy to output  */
  2012.   #define   FMT_ESC 0x02                /* 'E'  [Esc] detect    */
  2013.   #define   FMT_RTN 0x04                /* 'R'  [CR] detect     */
  2014.   #define   FMT_PAS 0x08                /* 'P'  password        */
  2015.   #define   FMT_LWR 0x10                /* 'L'  lower case      */
  2016.   #define   FMT_MIX 0x20                /* 'M'  mixed case      */
  2017.   #define   FMT_UPR 0x40                /* 'U'  upper case      */
  2018.   #define   FMT_CNV 0x70                /* 'L|M|U'  convert     */
  2019.   #define   FMT_END 0x80                /* end-of-format        */
  2020.   #define   FMT_TRM 0x84                /* end | 'R'  terminate */
  2021.   #define   FMT_INI 0x06                /* 'E|R'  initial       */
  2022.  
  2023.                     /* Format Usages */
  2024.   #define   FMT_GET 0x00                /* FmtGet()             */
  2025.   #define   FMT_WIN 0x01                /* WFmtGet()            */
  2026.   #define   FMT_ENT 0x02                /* EntFld()             */
  2027.   #define   FMT_NUM 0x04                /*    decimal field     */
  2028.   #define   FMT_CUR 0x08                /*    currency field    */
  2029.  
  2030.  
  2031.  
  2032.  
  2033. TesSeRact CXL V5.5 Quick Reference Guide                            Page 31
  2034.                   Appendix D - Window Output Escape Codes
  2035.  
  2036.  
  2037.                 Escape
  2038.                 Code     Function
  2039.                 ------   --------
  2040.                 +........increase text attribute
  2041.                 -........decrease text attribute
  2042.                 Ax.......set text attribute to (x)
  2043.                 Fx.......set foreground text attribute to (x)
  2044.                 Bx.......set background text attribute to (x)
  2045.                 I........toggle intensity
  2046.                 L........toggle blink
  2047.                 X........reverse text attribute
  2048.                 Rx.......set window row coordinate to (x)
  2049.                 Cx.......set window column coordinate to (x)
  2050.                 Ex.......erase (x):
  2051.                       W....entire window, home cursor
  2052.                       L....to end-of-line
  2053.                       S....to end-of-window
  2054.                 Dxy......display (x) character (y) times
  2055.  
  2056. Window output  Escape codes  are only  available in  the window  TTY output
  2057. string functions.   Valid  functions are  the  entire  Wput..()  series  of
  2058. functions, incuding  Wputs(), Wputf(),  etc.   Also, the  text inside  help
  2059. files can  contain Escape  codes (excluding  cross-reference items).    The
  2060. Escape code parameters MUST be character (byte) size.  Parameters should be
  2061. input as  binary.   For example,  5 would be '\005'.  If you are using them
  2062. from inside  a Wprintf()  format  string,  you  can  use  the  '%c'  format
  2063. specifier to supply the parameter from the list of variables.
  2064.  
  2065. Example:
  2066.  
  2067.   Wputf("\033A%cNormal \033IBright\033I \033LBlink\033L"
  2068.             " \033XReverse\033X\n",CYAN|_BLUE);
  2069.  
  2070.   Wputf("\033R%c\033C%cRow %d, Col %d\n",3,5,3,5);
  2071.  
  2072.   Wputs("\033DA\014 = 'A' 12 times\n");
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080.  
  2081.  
  2082.  
  2083.  
  2084.  
  2085.  
  2086.  
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092. Page 32                            TesSeRact CXL V5.5 Quick Reference Guide
  2093.                   Appendix E - Format Control Characters
  2094.  
  2095.   FCC      Description
  2096.   ---      -----------
  2097.   #........Allows numeric characters '0' thru '9'.
  2098.   %........Allows numeric characters '0' thru '9' and ' '.
  2099.   9........Allows numeric characters '0' thru '9', '.', '-', and '+'.
  2100.              This field is for floating-point numeric input.  The
  2101.              decimal does NOT need to appear in the format string, as in
  2102.              previous versions.  The decimal IS returned as part of the
  2103.              input buffer.
  2104.   $........Allows numeric characters '0' thru '9', '.', '-', and '+'.
  2105.              This field is for currency input.  TCXL treats it as
  2106.              floating-point input ('9'), but the displayed field will
  2107.              show a '$'.  This field format is valid only in an entry
  2108.              form, and uses the currency prefix/suf-fix/separator
  2109.              characters defined in _EntCtl.
  2110.   ?........Allows any character.
  2111.   *........Allows any printable character.
  2112.   A........Allows alpha characters 'A' thru 'Z', 'a' thru 'z', and ' '.
  2113.   D........Allows date characters '0' thru '9', '-', and '/'.
  2114.   F........Allows legal MS-DOS filename characters.
  2115.   H........Allows hexadecimal characters '0' thru '9', 'A' thru 'F', and
  2116.              'a' thru 'f'.
  2117.   L........Allows alpha characters 'A' thru 'Z', 'a' thru 'z', and ' '.
  2118.              Input letters will be converted to lowercase.
  2119.   M........Allows alpha characters 'A' thru 'Z', 'a' thru 'z', and ' '.
  2120.              Input letters will be converted to mixed case
  2121.   P........Allows alpha characters 'A' thru 'Z', 'a' thru 'z', and ' '.
  2122.              Input letters will be displayed as spaces, which is useful
  2123.              for entering passwords.
  2124.   T........Allows telephone number characters '0' thru '9', '(', ')','-
  2125.              ', and ' '.
  2126.   U........Allows alpha characters 'A' thru 'Z', 'a' thru 'z', and ' '.
  2127.              Input letters will be converted to uppercase.
  2128.   W........Allows legal MS-DOS filename characters, including wildcards.
  2129.   X........Allows alphanumeric characters 'A' thru 'Z', 'a' thru 'z',
  2130.              '0' thru '9', and ' '.
  2131.   Y........Allows yes/no response characters 'Y', 'N', 'y', and 'n'.
  2132.   (space)..Space characters can be used throughout a format string to
  2133.              improve its readability.
  2134.   <........Start of inclusion set.  An inclusion set allows you to
  2135.              specify the only allowable characters for a position.
  2136.   >........End of inclusion set.  Any characters listed between the left
  2137.              and right angle brackets are part of the set.
  2138.   [........Start of exclusion set.  An exclusion set allows you to
  2139.              specify characters that aren't allowed in that position.
  2140.   ]........End of exclusion set.  Any characters listed between the left
  2141.              and right square brackets are part of the set.
  2142.   '........Start or end of quoted text that will be displayed either in
  2143.              the input field or as you are typing.  All characters in
  2144.              between the start and end quotes will be displayed as text.
  2145.   "........Same as the single quote.  Is useful if you need to actually
  2146.              display a single quote as text.  Note that in C, you must
  2147.              represent the double quote as:  \"
  2148.  
  2149.  
  2150.  
  2151. TesSeRact CXL V5.5 Quick Reference Guide                            Page 33
  2152.   !........Start and stop a command toggle sequence.  Any characters in
  2153.              between the start and stop exclamation points are treated
  2154.              as command toggles.  You can have as many command toggles
  2155.              as you like between the exclamation points.  Valid command
  2156.              toggles are listed below.  Command Toggles are valid with
  2157.              KvGetFmt() and KwGetFmt() only!
  2158.   Command
  2159.   Toggle   Description
  2160.   -------  -----------
  2161.   -........Decreases text attribute.  Valid with KwGetFmt() only.
  2162.   +........Increases text attribute.  Valid with KwGetFmt() only.
  2163.   C........Toggles copying of quoted characters to receiving buffer.
  2164.              Default is off.
  2165.   E........Toggles Escape checking.  When on, if [Esc] is pressed, the
  2166.              receiving buffer will be emptied and an error code will be
  2167.              returned.  Default is on.
  2168.   L........Toggles lower-case conversion.  When on, all input letters
  2169.              will be forced to lower-case.  Default is off.
  2170.   M........Toggles mixed-case conversion.  When on, input letters will
  2171.              be forced to upper-case for the first letter of each word
  2172.              and lower-case for the remaining letters.  Default is off.
  2173.   P........Toggles password mode.  When on, input characters will be
  2174.              echoed to the screen as spaces.  This is useful for
  2175.              password fields.  Default is off.
  2176.   R........Toggles Return checking.  When off, if [Enter] is pressed, it
  2177.              will be ignored.  This is useful for forcing the user's
  2178.              input.  Default is on.
  2179.   U........Toggles upper-case conversion.  When on, input letters will
  2180.              be forced to upper-case.  Default is off.
  2181.  
  2182. Examples:
  2183.  
  2184.   KvGetFmt(name,"'Enter name:  ' !UR! XXXXX !R! XXXXXXXXXX");
  2185.  
  2186. Prompts for  name, inputs  string from  keyboard converting  characters  to
  2187. uppercase as  it goes,  allows up  to 15  alphanumeric characters as input.
  2188. The return  key is  disabled until at least 5 characters have been entered.
  2189. Input characters  will be  copied to the receiving buffer, name, which must
  2190. be large  enough to  hold all  16 characters - 15 for the input string, and
  2191. one for the terminating '\0'.
  2192.  
  2193.   KwGetFmt(phone," 'Enter phone:  '!RC! '(' ### ') ' ### '-' ####");
  2194.  
  2195. Prompts for  a full  phone number  including area  code, allows  only digit
  2196. characters and  displays format  punctuation as  it goes.  The entire field
  2197. must be  filled before return can be pressed.  All of the characters except
  2198. the prompt will be copied to the receiving buffer, phone.  This buffer must
  2199. be large  enough to  hold 15 characters - 10 for the phone number digits, 4
  2200. for the copied punctuation characters, and 1 for the terminating '\0'.
  2201.  
  2202.   EntFld( 1,16,date,"<01>#'/'<0123>#'/'<89>#",0,0,NULL,0);
  2203.  
  2204. Defines an input field that will accept a MMDDYY date.  Note the use of the
  2205. inclusion set '<' and '>' characters to aid in allowing only valid numbers.
  2206. The receiving  buffer, date,  must be  at least  7 characters to hold the 6
  2207. date characters and the terminating '\0'.
  2208.  
  2209.  
  2210. Page 34                            TesSeRact CXL V5.5 Quick Reference Guide
  2211.                   Appendix F - Movement and Editing Keys
  2212.  
  2213.  
  2214.   Field Editing Key  Action
  2215.   -----------------  ------
  2216.   LeftArrow..........cursor left
  2217.   RightArrow.........cursor right
  2218.   UpArrow............cursor up
  2219.   DownArrow..........cursor down
  2220.   Ctrl-LeftArrow.....word left
  2221.   Ctrl-RightArrow....word right
  2222.   Tab................field right
  2223.   Shift-Tab..........field left
  2224.   Enter..............process field
  2225.   Ctrl-Enter.........process all fields
  2226.   Decimal (.)........move to right side of decimal point
  2227.   Home...............beginning of field
  2228.   End................end of field line / end of field
  2229.   Ctrl-Home..........beginning of first field
  2230.   Ctrl-End...........end of last field
  2231.   Ins................toggle field insert mode
  2232.   Del................delete character at cursor
  2233.   BackSpace..........delete character left
  2234.   Ctrl-BackSpace.....delete word left
  2235.   Ctrl-R.............restore field to original contents
  2236.   Ctrl-T.............delete word right
  2237.   Ctrl-U.............delete to end of field
  2238.   Ctrl-Y.............delete to end of last field
  2239.   Esc................abort data entry (if Escape checking is on)
  2240.  
  2241.  
  2242.  
  2243.   Menu Movement Key  Action
  2244.   -----------------  ------
  2245.   LeftArrow..........moves selection bar to item left.
  2246.   RightArrow.........moves selection bar to item right.
  2247.   UpArrow............moves selection bar to item upwards.
  2248.   DownArrow..........moves selection bar to item downwards.  If the
  2249.              current menu item has a pull-down menu attached, then it
  2250.              will be opened for processing.
  2251.   Enter..............selects the item that the selection bar is on.  If
  2252.              selected item has a sub-menu attached, then processing of
  2253.              that menu will begin.
  2254.   Home...............moves selection bar to upper-leftmost item.
  2255.   End................moves selection bar to lower-rightmost item.
  2256.   Esc................if Escape checking is on, and your are in the root
  2257.              menu, pressing this cancels input and returns a -1. If
  2258.              inside a sub-menu, then you will just back up to the
  2259.              previous menu.
  2260.  
  2261.  
  2262.  
  2263.  
  2264.  
  2265.  
  2266.  
  2267.  
  2268.  
  2269. TesSeRact CXL V5.5 Quick Reference Guide                            Page 35
  2270.                       Appendix G - Global Error Codes
  2271.  
  2272.   ERR_MEM......(-2)....Allocation failure
  2273.   ERR_ARG......(-1)....Argument failure
  2274.   ERR_NUL......0.......Auccessful return
  2275.  
  2276.  
  2277.   W_ESCPRESS...0x01....Escape Key Was Pressed
  2278.   W_ALLOCERR...0x02....Memory Allocation Error
  2279.   W_NOTFOUND...0x03....Record Not Found
  2280.   W_NOACTIVE...0x04....No Active Window
  2281.   W_INVCOORD...0x05....Invalid Coordinates
  2282.   W_INVFORMT...0x06....Invalid Format String
  2283.   W_NOINPDEF...0x07....No Input Fields Defined
  2284.   W_STRLONG....0x08....String Too Long For Window
  2285.   W_INVBTYPE...0x09....Invalid Border Type
  2286.   W_NOBORDER...0x0A....No Window Border
  2287.   W_NOHIDDEN...0x0B....No Hidden Windows
  2288.   W_NOTHIDD....0x0C....Window Is Not Hidden
  2289.   W_NOSELECT...0x0D....No Selectable Menu Items
  2290.   W_NOITMDEF...0x0E....No Menu Items Defined
  2291.   W_NOMNUEND...0x0F....No End Of Menu Specified
  2292.   W_NOMNUDEF...0x10....No Menu Defined
  2293.   W_NOMNUBEG...0x11....No Begin Of Menu Specified
  2294.   W_NOFRMDEF...0x12....No Form Defined
  2295.   W_NOFRMBEG...0x13....No Begin Of Form Specified
  2296.   W_NOHLPDEF...0x14....No Help Record Defined
  2297.   W_HLPSTKOV...0x15....Help Stack Overflow
  2298.   W_HLPSTKUN...0x16....Help Stack Underflow
  2299.   W_DOSERROR...0x17....DOS Error
  2300.   W_NOMATCH....0x18....No Files Matched Input Filespec
  2301.   W_INVTAGID...0x19....Invalid Tag Identifier
  2302.   W_INVPATH....0x1A....Path Invalid Or Not Found
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314.  
  2315.  
  2316.  
  2317.  
  2318.  
  2319.  
  2320.  
  2321.  
  2322.  
  2323.  
  2324.  
  2325.  
  2326.  
  2327.  
  2328. Page 36                            TesSeRact CXL V5.5 Quick Reference Guide
  2329.                 Appendix H - Name Changes for CXL 5.2 Users
  2330.  
  2331.  
  2332.   Macros have a trailing "M", Aliases have a trailing "A"
  2333.  
  2334.  
  2335.               Function Mapping Sorted by Header and New Name
  2336.  
  2337.  
  2338.  
  2339.                            *** <TCXLcvt.h> ***
  2340.   cvtcf()........cvtcf()            cvtci().......cvtci()
  2341.   cvtfc()........cvtfc()            cvtic().......cvtic()
  2342.   touplow()......touplow()
  2343.  
  2344.                            *** <TCXLdef.h> ***
  2345.   _Delay().......delay_()           _StdOut()....._stdoutch()
  2346.   _StdOutS().....--                 _Timer()......timer()
  2347.   _WaitMs()......--                 Beep() M......beep() M
  2348.   RandFile().....randfile()         Sound().......sound_()
  2349.   SysDate()......sysdate()          SysTime().....systime()
  2350.   TabNxt().......tabstop()          TcxlInit()....--
  2351.   TcxlTerm().....--                 TcxlVer() M...cxlver()
  2352.  
  2353.                            *** <TCXLdos.h> ***
  2354.   _ChgDir()......--                 _ChgDrv().....--
  2355.   _FndFst()......--                 _FndNxt().....--
  2356.   _GetDir()......--                 _GetDrv().....--
  2357.   _InpByt()......--                 _InpWrd().....--
  2358.   _IntDis()......--                 _IntEna().....--
  2359.   _OutByt()......--                 _OutWrd().....--
  2360.  
  2361.                            *** <TCXLent.h> ***
  2362.   EntDef().......winpbeg()          EntFld()......winpdef()
  2363.   EntKey().......winpkey()          EntSep()......winpwordsep()
  2364.   EntShow()......winpread()         FldCur() M....winpfcurr() M
  2365.   FldFun().......winpfba()          FldKey()......--
  2366.   FldLoc().......winpffind()
  2367.  
  2368.                            *** <_TCXLent.h> ***
  2369.   _FldDsp()......--                 _FldDecL()....--
  2370.   _FldDecR().....--
  2371.  
  2372.                            *** <TCXLfar.h> ***
  2373.   MK_FP() M......MK_FP() M          MK_FPT() M....--
  2374.   _FarCpy()......--                 _CpyFar() A...--
  2375.   _FarGet()......--                 _GetFar() A...--
  2376.   _FarPut()......--                 _PutFar() A...--
  2377.  
  2378.                            *** <TCXLfmt.h> ***
  2379.   FmtBack()......--                 FmtChar().....cvaltype()
  2380.   FmtExcl()......--                 FmtFlip().....--
  2381.   FmtIncl()......--                 FmtInit().....--
  2382.   FmtPutF() M....--                 
  2383.  
  2384.                            *** <TCXLhdw.h> ***
  2385.   _BioEqp()......--                 BiosVer().....biosver()
  2386.  
  2387. TesSeRact CXL V5.5 Quick Reference Guide                            Page 37
  2388.   ClockCal().....clockcal()         HdwC40() M....--
  2389.   HdwC80() M.....--                 HdwDrv() M....numflop()
  2390.   HdwFlg() M.....--                 HdwGam() M....gameport()
  2391.   HdwM80() M.....--                 HdwMdm() M....--
  2392.   HdwMou() M.....--                 MachId()......machid()
  2393.   HdwNdp() M.....mathchip()         HdwPar() M....numpar()
  2394.   HdwSer() M.....numser()
  2395.  
  2396.                            *** <TCXLhlp.h> ***
  2397.   HlpAdd().......whelppcat()        HlpClr()......whelpclr()
  2398.   HlpCur() M.....whelpush()         lpDef().......whelpdef()
  2399.   HlpDrop()......whelpopc()         HlpOff()......whelpundef() M
  2400.   HlpPop().......whelpop()          HlpPush().....whelpushc()
  2401.   HlpSet().......whelpcat()         HlpShow().....whelpget()
  2402.   HlpWind()......whelpwin()
  2403.  
  2404.                            *** <TCXLkey.h> ***
  2405.   KwGetCf()......wgetchf()          KwGetCh().....wgetc()
  2406.   KwGetFmt().....winputsf()         KwGetSn().....wgetns()
  2407.   KwGetSt()......wgets()            KwGetYn().....wgetyn()
  2408.   KwScanf()......wscanf()           KvGetCf().....getchf()
  2409.   KvGetCh()......--                 KvGetFmt()....inputsf()
  2410.   KvGetSn()......getns()            KvGetSt().....--
  2411.   KvGetYn()......--                 KvScanf().....--
  2412.   KbndChg()......chgonkey()         KbndClr().....--
  2413.   KbndFre()......freonkey()         KbndIdle() M..setkbloop() M
  2414.   KbndSet()......setonkey()         KeyClear() M..clearkeys() M
  2415.   KeyEvent().....kbmhit()           KeyGetc().....getxch()
  2416.   KeyPeek() M....--                 KeyStat() M...kbstat()
  2417.   KeyTime()......waitkeyt()         KeyWait() M...waitkey()
  2418.   KqueChk() M....--                 KqueClr().....kbclear()
  2419.   KqueGet()......--                 KquePut().....kbput()
  2420.   KqueStr()......kbputs()           _KeySta().....--
  2421.   _KeySet()......--                 _KeyExt().....--
  2422.   _KeyGet()......--                 _KeyHit().....--
  2423.   KcapOff() M....capsoff()          KcapOn() M....capson()
  2424.   KextOff() M....--                 KextOn() M....--
  2425.   KinsOff() M....--                 KinsOn() M....--
  2426.   KnumOff() M....numoff()           KnumOn() M....numon()
  2427.   KscnCod()......scancode()
  2428.  
  2429.                            *** <TCXLmem.h> ***
  2430.   EMSalloc().....--                 EMSfree().....--
  2431.   EMSgetnam()....--                 EMScount()....--
  2432.   EMSpages().....--                 EMSmap()......--
  2433.   EMSquery().....--                 EMSrest().....--
  2434.   EMSsave()......--                 EMSsetnam()...--
  2435.   EMSstat()......--                 UMBalloc()....--
  2436.   UMBfree()......--                 MemInit().....--
  2437.   MemTerm() M....--                 _A20_LD().....--
  2438.   _A20_LE()......--                 _A20chk().....--
  2439.   _A20dis()......--                 _A20ena().....--
  2440.   HMAalloc().....--                 HMAfree().....--
  2441.   XMSalloc().....--                 XMScopy().....--
  2442.   XMSfree()......--                 XMSavail()....--
  2443.   XMSquery().....--                 XMSlock().....--
  2444.   XMSrealloc()...--                 XMSunlock()...--
  2445.  
  2446. Page 38                            TesSeRact CXL V5.5 Quick Reference Guide
  2447.                            *** <TCXLmnu.h> ***
  2448.   ItmCur() M.....wmenuicurr() M     ItmDis()......wmenuidsab()
  2449.   ItmDsp().......wmenuiredisp()     ItmEna()......wmenuienab()
  2450.   ItmFun().......wmenuiba()         ItmGet()......wmenuigetxt()
  2451.   ItmKey().......--                 ItmLoc()......wmenuifind()
  2452.   ItmNxt().......wmenuinext()       ItmSet()......wmenuisetxt()
  2453.   ItmTxt().......wmenuitxt()        MnuAct()......wmenubegc()
  2454.   MnuBeg().......wmenubeg()         MnuCur() M....wmenumcurr() M
  2455.   MnuEnd().......wmenuend()         MnuItm()......wmenuitem()
  2456.   MnuShow()......wmenuget()
  2457.  
  2458.                            *** <TCXLmou.h> ***
  2459.   _MSget().......--                 _MSpos()......--
  2460.   _MSset().......--                 _MSsho()......--
  2461.   MSclear()......msbclear()         MScurs()......mscursor()
  2462.   MSgoto().......msgotoxy()         MShide()......mshidecur()
  2463.   MShome().......--                 MSinit()......msinit()
  2464.   MSkeys().......--                 MSlimit().....mshbounds()
  2465.   MSlimit()......msvbounds()        MSmove()......msmotion()
  2466.   MSpop()........--                 MSpress().....msbpress()
  2467.   MSpush().......mssupport()        MSreles().....msbreles()
  2468.   MSshow() M.....msshowcur()        MSspeed().....msspeed()
  2469.   MSstat().......msstatus()         MSterm()......--
  2470.   MSupdat()......mscondoff()
  2471.  
  2472.                            *** <TCXLprn.h> ***
  2473.   _LPputC()......--                 lcrlf() M.....lcrlf() M
  2474.   lprintc() M....lprintc()          lprintf().....lprintf()
  2475.   lprintn()......--                 lprintns()....lprintns()
  2476.   lprints()......lprints()          lprintsb()....lprintsb()
  2477.   lprintsu().....lprintsu()         scrndump()....scrndump()
  2478.   windump()......windump()
  2479.  
  2480.                            *** <TCXLsel.h> ***
  2481.   _Select()......--                 SelAttr().....wpickattr()
  2482.   SelFile()......wpickfile()        SelStr()......wpickstr()
  2483.   SelTxt().......wselstr()
  2484.  
  2485.                            *** <TCXLstr.h> ***
  2486.   strblank().....strblank()         strbmatch()...strbmatch()
  2487.   strbtrim() M...strbtrim() M       strchg()......strchg()
  2488.   strchksum()....strchksum()        strcode().....strcode()
  2489.   strdel().......strdel()           strdela().....strdela()
  2490.   strichg()......strichg()          strichksum()..strichksum()
  2491.   stridel()......stridel()          stridela()....stridela()
  2492.   striinc()......striinc()          strinc()......strinc()
  2493.   strins().......strins()           striocc().....striocc()
  2494.   strischg().....strischg()         strisocc()....strisocc()
  2495.   strisrep().....strisrep()         strleft() M...strleft() M
  2496.   strljust().....strljust()         strltrim()....strltrim()
  2497.   strmatch().....strmatch()         strmid()......strmid()
  2498.   strocc().......strocc()           strright() M..strright() M
  2499.   strrjust().....strrjust()         strrol()......strrol()
  2500.   strror().......strror()           strrtrim() M..strrtrim() M
  2501.   strschg()......strschg()          strsetsz()....strsetsz()
  2502.   strshl().......strshl()           strshr()......strshr()
  2503.   strsocc()......strsocc()          strsrep().....strsrep()
  2504.  
  2505. TesSeRact CXL V5.5 Quick Reference Guide                            Page 39
  2506.   strtrim()......strtrim()          struplow()....struplow()
  2507.  
  2508.                            *** <TCXLvid.h> ***
  2509.   VatrInv()......revsattr()         VatrMap().....mapattr()
  2510.   VatrRev()......revattr()          VatrSet().....setattr()
  2511.   VatrTxt()......attr2text()        Vattrib() M...attrib() M
  2512.   Vclear().......cclrscrn()         VclrBox() M...clrwin() M
  2513.   VclrEol()......clreol_()          VclrScr().....clrscrn()
  2514.   VcurGet() M....--                 VcurHid().....hidecur()
  2515.   VcurHid()......showcur()          VcurPut() M...--
  2516.   VcurSet()......lgcursor()         VcurSet().....smcursor()
  2517.   VcurSiz() M....getcursz()         VcurSiz() M...setcursz()
  2518.   VdrwBox() M....box_()             VfilBox() M...fill_()
  2519.   Vgetw() M......readchat()         Vgotoxy().....gotoxy_()
  2520.   VidInit()......videoinit()        VidMode().....mode()
  2521.   VidMode()......vidmode()          VidOfs() M....--
  2522.   VidParm()......setvparam()        VidTerm().....--
  2523.   VidType()......vidtype()          VlodBox().....disktowin()
  2524.   VlodScr()......disktoscrn()       VposGet().....readcur()
  2525.   Vprintc()......printc()           Vprints().....prints()
  2526.   VputSpa()......spc()              Vputc().......putchat()
  2527.   Vputw() M......--                 Vrestore()....srestore()
  2528.   VsavBox() M....wintodisk()        Vsave().......ssave()
  2529.   VsavScr()......scrntodisk()       Vscroll() M...--
  2530.   VsetLin()......setlines()         VcurGt_().....--
  2531.   VcurPt_()......--                 VcurSz_().....--
  2532.   VdrwBx_()......--                 VfilBx_().....--
  2533.   Vgetw_().......--                 Vputw_()......--
  2534.   VsavBx_()......--                 Vscrol_().....--
  2535.  
  2536.                            *** <_TCXLvid.h> ***
  2537.   _VgetN() M.....cgareadn()         _VgetS() M....--
  2538.   _VgetW() M.....cgardword()        _VgetX() M....cgardbyte()
  2539.   _VputA() M.....--                 _VputB() M....--
  2540.   _VputC() M.....cgawrbyte()        _VputN() M....cgawriten()
  2541.   _VputS() M.....cgawrstr()         _VputW() M....cgawrword()
  2542.   _VputX() M.....--                 _VgetN_().....--
  2543.   _VgetS_()......--                 _VgetW_().....--
  2544.   _VgetX_()......--                 _VputA_().....--
  2545.   _VputB_()......--                 _VputC_().....--
  2546.   _VputN_()......--                 _VputS_().....--
  2547.   _VputW_()......--                 _VputX_().....--
  2548.   _VuvDis()......--                 _VuvEna().....--
  2549.   _VuvGet()......--                 _VuvSet().....--
  2550.   _VuvVal()......--                 VgetDvb().....--
  2551.   VisaEga()......--                 VisaPs2().....--
  2552.   VsetChr()......--
  2553.  
  2554.                            *** <TCXLwin.h> ***
  2555.   Wactiv().......wactiv()           WcloseAll()...wcloseall()
  2556.   Werrmsg()......werrmsg()          Werror()......--
  2557.   Windowat().....windowat()         WinLoc()......wfindrec()
  2558.   Wisactiv() M...wisactiv() M       Wopen().......wopen()
  2559.   Wperror()......wperror()          WpopUp()......--
  2560.   Wrestore().....wrestore()         Wsave().......wsave()
  2561.   WsetEsc() M....wsetesc() M        WsetFil() M...wfillch() M
  2562.   WsetFun()......wsetfill()         WsetTab() M...wtabwidth() M
  2563.  
  2564. Page 40                            TesSeRact CXL V5.5 Quick Reference Guide
  2565.   WsetTxt()......wtextattr()        Wunhide().....wunhide()
  2566.   Wunlink()......wunlink()          Wwprints()....wwprints()
  2567.   Wcenter()......--                 Wclose()......wclose()
  2568.   Wcopy()........wcopy()            Wdrag().......wdrag()
  2569.   Wdump()........wdump()            Whandle().....whandle()
  2570.   Whide()........whide()            Wmove().......wmove()
  2571.   Wsize()........wsize()            Wslide()......wslide()
  2572.   WchgAtr()......wchgattr()         WchkBox().....wchkbox()
  2573.   WchkCol()......wchkcol()          WchkPos().....wchkcoord()
  2574.   WchkRow()......wchkrow()          Wclear() M....wclear() M
  2575.   WclrEol()......wclreol()          WclrEos().....wclreos()
  2576.   WclrWin()......wcclear()          WfilBox().....wfill()
  2577.   WlinDel()......wdelline()         WlinIns().....winsline()
  2578.   WscrBox()......wscrollbox()       WscrWin().....wscroll()
  2579.   Wborder()......wborder()          Wbprintc()....wbprintc()
  2580.   WdrwBox()......wbox()             WdrwHor().....whline()
  2581.   WdrwVer()......wvline()           Wmessage()....wmessage()
  2582.   Wtitle().......wtitle()           Wshadoff()....wshadoff()
  2583.   Wshadow()......wshadow()          WcurGet() M...wreadcur()
  2584.   WcurPut() M....--                 Wgotoxy().....wgotoxy()
  2585.   Wpgotoxy().....wpgotoxy()         WposGet() M...--
  2586.   WdupChr()......wdupc()            WdupStr().....wdups()
  2587.   WputCen()......--                 WputFmt().....--
  2588.   Wputc()........wputc()            Wputf().......--
  2589.   Wputns().......wputns()           Wputs().......wputs()
  2590.   Wputrj().......wrjusts()          Wputsw()......wputsw()
  2591.   WdupChrA().....--                 WdupStrA()....--
  2592.   WprtCen()......wcenters()         WprtFmt().....wprintsf()
  2593.   Wprtc()........wprintc()          Wprtf().......wprintf()
  2594.   Wprtns().......--                 Wprtrj()......--
  2595.   Wprts()........wprints()          Wprtsw()......--
  2596.   WcurGt_()......--                 WcurPt_().....--
  2597.  
  2598.                            *** <_TCXLwin.h> ***
  2599.   _Wputl().......--
  2600.  
  2601.  
  2602.  
  2603.  
  2604.  
  2605.  
  2606.  
  2607.  
  2608.  
  2609.  
  2610.  
  2611.  
  2612.  
  2613.  
  2614.  
  2615.  
  2616.  
  2617.  
  2618.  
  2619.  
  2620.  
  2621.  
  2622.  
  2623. TesSeRact CXL V5.5 Quick Reference Guide                            Page 41
  2624.  
  2625.                     Function Mapping Sorted by New Name
  2626.  
  2627.   Beep() M.......beep() M                 HlpShow()......whelpget()
  2628.   BiosVer()......biosver()                HlpWind()......whelpwin()
  2629.   ClockCal().....clockcal()               HMAalloc().....--
  2630.   cvtcf()........cvtcf()                  HMAfree()......--
  2631.   cvtci()........cvtci()                  ItmCur() M.....wmenuicurr() M
  2632.   cvtfc()........cvtfc()                  ItmDis().......wmenuidsab()
  2633.   cvtic()........cvtic()                  ItmDsp().......wmenuiredisp()
  2634.   EMSalloc().....--                       ItmEna().......wmenuienab()
  2635.   EMScount().....--                       ItmFun().......wmenuiba()
  2636.   EMSfree()......--                       ItmGet().......wmenuigetxt()
  2637.   EMSgetnam()....--                       ItmKey().......--
  2638.   EMSmap().......--                       ItmLoc().......wmenuifind()
  2639.   EMSpages().....--                       ItmNxt().......wmenuinext()
  2640.   EMSquery().....--                       ItmSet().......wmenuisetxt()
  2641.   EMSrest()......--                       ItmTxt().......wmenuitxt()
  2642.   EMSsave()......--                       KbndChg()......chgonkey()
  2643.   EMSsetnam()....--                       KbndClr()......--
  2644.   EMSstat()......--                       KbndFre()......freonkey()
  2645.   EntDef().......winpbeg()                KbndIdle() M...setkbloop() M
  2646.   EntFld().......winpdef()                KbndSet()......setonkey()
  2647.   EntKey().......winpkey()                KcapOff() M....capsoff()
  2648.   EntSep().......winpwordsep()            KcapOn() M.....capson()
  2649.   EntShow()......winpread()               KextOff() M....--
  2650.   FldCur() M.....winpfcurr() M            KextOn() M.....--
  2651.   FldFun().......winpfba()                KeyClear() M...clearkeys() M
  2652.   FldKey().......--                       KeyEvent().....kbmhit()
  2653.   FldLoc().......winpffind()              KeyGetc()......getxch()
  2654.   FmtBack()......--                       KeyPeek() M....--
  2655.   FmtChar()......cvaltype()               KeyStat() M....kbstat()
  2656.   FmtExcl()......--                       KeyTime()......waitkeyt()
  2657.   FmtFlip()......--                       KeyWait() M....waitkey()
  2658.   FmtIncl()......--                       KinsOff() M....--
  2659.   FmtInit()......--                       KinsOn() M.....--
  2660.   FmtPutF() M....--                       KnumOff() M....numoff()
  2661.   HdwC40() M.....--                       KnumOn() M.....numon()
  2662.   HdwC80() M.....--                       KqueChk() M....--
  2663.   HdwDrv() M.....numflop()                KqueClr()......kbclear()
  2664.   HdwFlg() M.....--                       KqueGet()......--
  2665.   HdwGam() M.....gameport()               KquePut()......kbput()
  2666.   HdwM80() M.....--                       KqueStr()......kbputs()
  2667.   HdwMdm() M.....--                       KscnCod()......scancode()
  2668.   HdwMou() M.....--                       KvGetCf()......getchf()
  2669.   HdwNdp() M.....mathchip()               KvGetCh()......--
  2670.   HdwPar() M.....numpar()                 KvGetFmt().....inputsf()
  2671.   HdwSer() M.....numser()                 KvGetSn()......getns()
  2672.   HlpAdd().......whelppcat()              KvGetSt()......--
  2673.   HlpClr().......whelpclr()               KvGetYn()......--
  2674.   HlpCur() M.....whelpush()               KvScanf()......--
  2675.   HlpDef().......whelpdef()               KwGetCf()......wgetchf()
  2676.   HlpDrop()......whelpopc()               KwGetCh()......wgetc()
  2677.   HlpOff().......whelpundef() M           KwGetFmt().....winputsf()
  2678.   HlpPop().......whelpop()                KwGetSn()......wgetns()
  2679.   HlpPush()......whelpushc()              KwGetSt()......wgets()
  2680.   HlpSet().......whelpcat()               KwGetYn()......wgetyn()
  2681.  
  2682. Page 42                            TesSeRact CXL V5.5 Quick Reference Guide
  2683.   KwScanf()......wscanf()                 stridela().....stridela()
  2684.   lcrlf() M......lcrlf() M                striinc()......striinc()
  2685.   lprintc() M....lprintc()                strinc().......strinc()
  2686.   lprintf()......lprintf()                strins().......strins()
  2687.   lprintn()......--                       striocc()......striocc()
  2688.   lprintns().....lprintns()               strischg().....strischg()
  2689.   lprints()......lprints()                strisocc().....strisocc()
  2690.   lprintsb().....lprintsb()               strisrep().....strisrep()
  2691.   lprintsu().....lprintsu()               strleft() M....strleft() M
  2692.   MachId().......machid()                 strljust().....strljust()
  2693.   MemInit()......--                       strltrim().....strltrim()
  2694.   MemTerm() M....--                       strmatch().....strmatch()
  2695.   MK_FP() M......MK_FP() M                strmid().......strmid()
  2696.   MK_FPT() M.....--                       strocc().......strocc()
  2697.   MnuAct().......wmenubegc()              strright() M...strright() M
  2698.   MnuBeg().......wmenubeg()               strrjust().....strrjust()
  2699.   MnuCur() M.....wmenumcurr() M           strrol().......strrol()
  2700.   MnuEnd().......wmenuend()               strror().......strror()
  2701.   MnuItm().......wmenuitem()              strrtrim() M...strrtrim() M
  2702.   MnuShow()......wmenuget()               strschg()......strschg()
  2703.   MSclear()......msbclear()               strsetsz().....strsetsz()
  2704.   MScurs().......mscursor()               strshl().......strshl()
  2705.   MSgoto().......msgotoxy()               strshr().......strshr()
  2706.   MShide().......mshidecur()              strsocc()......strsocc()
  2707.   MShome().......--                       strsrep()......strsrep()
  2708.   MSinit().......msinit()                 strtrim()......strtrim()
  2709.   MSkeys().......--                       struplow().....struplow()
  2710.   MSlimit()......mshbounds()              SysDate()......sysdate()
  2711.   MSlimit()......msvbounds()              SysTime()......systime()
  2712.   MSmove().......msmotion()               TabNxt().......tabstop()
  2713.   MSpop()........--                       TcxlInit().....--
  2714.   MSpress()......msbpress()               TcxlTerm().....--
  2715.   MSpush().......mssupport()              TcxlVer() M....cxlver()
  2716.   MSreles()......msbreles()               touplow()......touplow()
  2717.   MSshow() M.....msshowcur()              UMBalloc().....--
  2718.   MSspeed()......msspeed()                UMBfree()......--
  2719.   MSstat().......msstatus()               VatrInv()......revsattr()
  2720.   MSterm().......--                       VatrMap()......mapattr()
  2721.   MSupdat()......mscondoff()              VatrRev()......revattr()
  2722.   RandFile().....randfile()               VatrSet()......setattr()
  2723.   scrndump().....scrndump()               VatrTxt()......attr2text()
  2724.   SelAttr()......wpickattr()              Vattrib() M....attrib() M
  2725.   SelFile()......wpickfile()              Vclear().......cclrscrn()
  2726.   SelStr().......wpickstr()               VclrBox() M....clrwin() M
  2727.   SelTxt().......wselstr()                VclrEol()......clreol_()
  2728.   Sound()........sound_()                 VclrScr()......clrscrn()
  2729.   strblank().....strblank()               VcurGet() M....--
  2730.   strbmatch()....strbmatch()              VcurGt_()......--
  2731.   strbtrim() M...strbtrim() M             VcurHid()......hidecur()
  2732.   strchg().......strchg()                 VcurHid()......showcur()
  2733.   strchksum()....strchksum()              VcurPt_()......--
  2734.   strcode()......strcode()                VcurPut() M....--
  2735.   strdel().......strdel()                 VcurSet()......lgcursor()
  2736.   strdela()......strdela()                VcurSet()......smcursor()
  2737.   strichg()......strichg()                VcurSiz() M....setcursz()
  2738.   strichksum()...strichksum()             VcurSiz() M....getcursz()
  2739.   stridel()......stridel()                VcurSz_()......--
  2740.  
  2741. TesSeRact CXL V5.5 Quick Reference Guide                            Page 43
  2742.   VdrwBox() M....box_()                   WdrwHor()......whline()
  2743.   VdrwBx_()......--                       WdrwVer()......wvline()
  2744.   VfilBox() M....fill_()                  Wdump()........wdump()
  2745.   VfilBx_()......--                       WdupChr()......wdupc()
  2746.   VgetDvb()......--                       WdupChrA().....--
  2747.   Vgetw() M......readchat()               WdupStr()......wdups()
  2748.   Vgetw_().......--                       WdupStrA().....--
  2749.   Vgotoxy()......gotoxy_()                Werrmsg()......werrmsg()
  2750.   VidInit()......videoinit()              Werror().......--
  2751.   VidMode()......mode()                   WfilBox()......wfill()
  2752.   VidMode()......vidmode()                Wgotoxy()......wgotoxy()
  2753.   VidOfs() M.....--                       Whandle()......whandle()
  2754.   VidParm()......setvparam()              Whide()........whide()
  2755.   VidTerm()......--                       Windowat().....windowat()
  2756.   VidType()......vidtype()                windump()......windump()
  2757.   VisaEga()......--                       WinLoc().......wfindrec()
  2758.   VisaPs2()......--                       Wisactiv() M   wisactiv() M
  2759.   VlodBox()......disktowin()              WlinDel()......wdelline()
  2760.   VlodScr()......disktoscrn()             WlinIns()......winsline()
  2761.   VposGet()......readcur()                Wmessage().....wmessage()
  2762.   Vprintc()......printc()                 Wmove()........wmove()
  2763.   Vprints()......prints()                 Wopen()........wopen()
  2764.   Vputc()........putchat()                Wperror()......wperror()
  2765.   VputSpa()......spc()                    Wpgotoxy().....wpgotoxy()
  2766.   Vputw() M......--                       WpopUp().......--
  2767.   Vputw_().......--                       WposGet() M....--
  2768.   Vrestore().....srestore()               Wprtc()........wprintc()
  2769.   VsavBox() M....wintodisk()              WprtCen()......wcenters()
  2770.   VsavBx_()......--                       Wprtf()........wprintf()
  2771.   Vsave()........ssave()                  WprtFmt()......wprintsf()
  2772.   VsavScr()......scrntodisk()             Wprtns().......--
  2773.   Vscroll() M....--                       Wprtrj().......--
  2774.   Vscrol_()......--                       Wprts()........wprints()
  2775.   VsetChr()......--                       Wprtsw().......--
  2776.   VsetLin()......setlines()               Wputc()........wputc()
  2777.   Wactiv().......wactiv()                 WputCen()......--
  2778.   Wborder()......wborder()                Wputf()........--
  2779.   Wbprintc().....wbprintc()               WputFmt()......--
  2780.   Wcenter()......--                       Wputns().......wputns()
  2781.   WchgAtr()......wchgattr()               Wputrj().......wrjusts()
  2782.   WchkBox()......wchkbox()                Wputs()........wputs()
  2783.   WchkCol()......wchkcol()                Wputsw().......wputsw()
  2784.   WchkPos()......wchkcoord()              Wrestore().....wrestore()
  2785.   WchkRow()......wchkrow()                Wsave()........wsave()
  2786.   Wclear() M.....wclear() M               WscrBox()......wscrollbox()
  2787.   Wclose().......wclose()                 WscrWin()......wscroll()
  2788.   WcloseAll()....wcloseall()              WsetEsc() M....wsetesc() M
  2789.   WclrEol()......wclreol()                WsetFil() M....wfillch() M
  2790.   WclrEos()......wclreos()                WsetFun()......wsetfill()
  2791.   WclrWin()......wcclear()                WsetTab() M....wtabwidth() M
  2792.   Wcopy()........wcopy()                  WsetTxt()......wtextattr()
  2793.   WcurGet() M....wreadcur()               Wshadoff().....wshadoff()
  2794.   WcurGt_()......--                       Wshadow()......wshadow()
  2795.   WcurPt_()......--                       Wsize()........wsize()
  2796.   WcurPut() M....--                       Wslide().......wslide()
  2797.   Wdrag()........wdrag()                  Wtitle().......wtitle()
  2798.   WdrwBox()......wbox()                   Wunhide()......wunhide()
  2799.  
  2800. Page 44                            TesSeRact CXL V5.5 Quick Reference Guide
  2801.   Wunlink()......wunlink()                _MSget().......--
  2802.   Wwprints().....wwprints()               _MSpos().......--
  2803.   XMSalloc().....--                       _MSset().......--
  2804.   XMSavail().....--                       _MSsho().......--
  2805.   XMScopy()......--                       _OutByt()......--
  2806.   XMSfree()......--                       _OutWrd()......--
  2807.   XMSlock()......--                       _PutFar() A....--
  2808.   XMSquery().....--                       _Select()......--
  2809.   XMSrealloc()...--                       _StdOut()......_stdoutch()
  2810.   XMSunlock()....--                       _StdOutS().....--
  2811.   _A20chk()......--                       _Timer().......timer()
  2812.   _A20dis()......--                       _VgetN() M.....cgareadn()
  2813.   _A20ena()......--                       _VgetN_()......--
  2814.   _A20_LD()......--                       _VgetS() M.....--
  2815.   _A20_LE()......--                       _VgetS_()......--
  2816.   _BioEqp()......--                       _VgetW() M.....cgardword()
  2817.   _ChgDir()......--                       _VgetW_()......--
  2818.   _ChgDrv()......--                       _VgetX() M.....cgardbyte()
  2819.   _CpyFar() A....--                       _VgetX_()......--
  2820.   _Delay().......delay_()                 _VputA() M.....--
  2821.   _FarCpy()......--                       _VputA_()......--
  2822.   _FarGet()......--                       _VputB() M.....--
  2823.   _FarPut()......--                       _VputB_()......--
  2824.   _FldDecL().....--                       _VputC() M.....cgawrbyte()
  2825.   _FldDecR().....--                       _VputC_()......--
  2826.   _FldDsp()......--                       _VputN() M.....cgawriten()
  2827.   _FndFst()......--                       _VputN_()......--
  2828.   _FndNxt()......--                       _VputS() M.....cgawrstr()
  2829.   _GetDir()......--                       _VputS_()......--
  2830.   _GetDrv()......--                       _VputW() M.....cgawrword()
  2831.   _GetFar() A....--                       _VputW_()......--
  2832.   _InpByt()......--                       _VputX() M.....--
  2833.   _InpWrd()......--                       _VputX_()......--
  2834.   _IntDis()......--                       _VuvDis()......--
  2835.   _IntEna()......--                       _VuvEna()......--
  2836.   _KeyExt()......--                       _VuvGet()......--
  2837.   _KeyGet()......--                       _VuvSet()......--
  2838.   _KeyHit()......--                       _VuvVal()......--
  2839.   _KeySet()......--                       _WaitMs()......--
  2840.   _KeySta()......--                       _Wputl().......--
  2841.   _LPputC()......--
  2842.  
  2843.  
  2844.  
  2845.  
  2846.  
  2847.  
  2848.  
  2849.  
  2850.  
  2851.  
  2852.  
  2853.  
  2854.  
  2855.  
  2856.  
  2857.  
  2858.  
  2859. TesSeRact CXL V5.5 Quick Reference Guide                            Page 45
  2860.  
  2861.                     Function Mapping Sorted by Old Name
  2862.  
  2863.   _stdoutch()...._StdOut()                lprintsb().....lprintsb()
  2864.   attr2text()....VatrTxt()                lprintsu().....lprintsu()
  2865.   attrib() M.....Vattrib() M              machid().......MachId()
  2866.   beep() M.......Beep() M                 mapattr()......VatrMap()
  2867.   biosver()......BiosVer()                mathchip().....HdwNdp() M
  2868.   box_().........VdrwBox() M              MK_FP() M......MK_FP() M
  2869.   capsoff()......KcapOff() M              mode().........VidMode()
  2870.   capson().......KcapOn() M               msbclear().....MSclear()
  2871.   cclrscrn().....Vclear()                 msbpress().....MSpress()
  2872.   cgardbyte()...._VgetX() M               msbreles().....MSreles()
  2873.   cgardword()...._VgetW() M               mscondoff()....MSupdat()
  2874.   cgareadn()....._VgetN() M               mscursor().....MScurs()
  2875.   cgawrbyte()...._VputC() M               msgotoxy().....MSgoto()
  2876.   cgawriten()...._VputN() M               mshbounds()....MSlimit()
  2877.   cgawrstr()....._VputS() M               mshidecur()....MShide()
  2878.   cgawrword()...._VputW() M               msinit().......MSinit()
  2879.   chgonkey().....KbndChg()                msmotion().....MSmove()
  2880.   clearkeys() M..KeyClear() M             msshowcur()....MSshow() M
  2881.   clockcal().....ClockCal()               msspeed()......MSspeed()
  2882.   clreol_()......VclrEol()                msstatus().....MSstat()
  2883.   clrscrn()......VclrScr()                mssupport()....MSpush()
  2884.   clrwin() M.....VclrBox() M              msvbounds()....MSlimit()
  2885.   cvaltype().....FmtChar()                numflop()......HdwDrv() M
  2886.   cvtcf()........cvtcf()                  numoff().......KnumOff() M
  2887.   cvtci()........cvtci()                  numon()........KnumOn() M
  2888.   cvtfc()........cvtfc()                  numpar().......HdwPar() M
  2889.   cvtic()........cvtic()                  numser().......HdwSer() M
  2890.   cxlver().......TcxlVer() M              printc().......Vprintc()
  2891.   delay_()......._Delay()                 prints().......Vprints()
  2892.   disktoscrn()...VlodScr()                putchat()......Vputc()
  2893.   disktowin()....VlodBox()                randfile().....RandFile()
  2894.   fill_()........VfilBox() M              readchat().....Vgetw() M
  2895.   freonkey().....KbndFre()                readcur()......VcurGet() M
  2896.   gameport().....HdwGam() M               readcur()......VposGet()
  2897.   getchf().......KvGetCf()                revattr()......VatrRev()
  2898.   getcursz().....VcurSiz() M              revsattr().....VatrInv()
  2899.   getns()........KvGetSn()                scancode().....KscnCod()
  2900.   getxch().......KeyGetc()                scrndump().....scrndump()
  2901.   gotoxy_()......Vgotoxy()                scrntodisk()...VsavScr()
  2902.   hidecur()......VcurHid()                setattr()......VatrSet()
  2903.   inputsf()......KvGetFmt()               setcursz().....VcurSiz()  M
  2904.   isactiv() M....Wisactiv() M             setkbloop() M..KbndIdle() M
  2905.   w                                       setlines().....VsetLin()
  2906.   kbclear()......KqueClr()                setonkey().....KbndSet()
  2907.   kbmhit().......KeyEvent()               setvparam()....VidParm()
  2908.   kbput()........KquePut()                showcur()......VcurHid()
  2909.   kbputs().......KqueStr()                smcursor().....VcurSet()
  2910.   kbstat().......KeyStat() M              sound_().......Sound()
  2911.   lcrlf() M......lcrlf() M                spc()..........VputSpa()
  2912.   lgcursor().....VcurSet()                srestore().....Vrestore()
  2913.   lprintc()......lprintc() M              ssave()........Vsave()
  2914.   lprintf()......lprintf()                strblank().....strblank()
  2915.   lprintns().....lprintns()               strbmatch()....strbmatch()
  2916.   lprints()......lprints()                strbtrim() M...strbtrim() M
  2917.  
  2918. Page 46                            TesSeRact CXL V5.5 Quick Reference Guide
  2919.   strchg().......strchg()                 wclose().......Wclose()
  2920.   strchksum()....strchksum()              wcloseall()....WcloseAll()
  2921.   strcode()......strcode()                wclreol()......WclrEol()
  2922.   strdel().......strdel()                 wclreos()......WclrEos()
  2923.   strdela()......strdela()                wcopy()........Wcopy()
  2924.   strichg()......strichg()                wdelline().....WlinDel()
  2925.   strichksum()...strichksum()             wdrag()........Wdrag()
  2926.   stridel()......stridel()                wdump()........Wdump()
  2927.   stridela().....stridela()               wdupc()........WdupChr()
  2928.   striinc()......striinc()                wdups()........WdupStr()
  2929.   strinc().......strinc()                 werrmsg()......Werrmsg()
  2930.   strins().......strins()                 wfill()........WfilBox()
  2931.   striocc()......striocc()                wfillch() M....WsetFil() M
  2932.   strischg().....strischg()               wfindrec().....WinLoc()
  2933.   strisocc().....strisocc()               wgetc()........KwGetCh()
  2934.   strisrep().....strisrep()               wgetchf()......KwGetCf()
  2935.   strleft() M....strleft() M              wgetns().......KwGetSn()
  2936.   strljust().....strljust()               wgets()........KwGetSt()
  2937.   strltrim().....strltrim()               wgetyn().......KwGetYn()
  2938.   strmatch().....strmatch()               wgotoxy()......Wgotoxy()
  2939.   strmid().......strmid()                 whandle()......Whandle()
  2940.   strocc().......strocc()                 whelpcat().....HlpSet()
  2941.   strright() M...strright() M             whelpclr().....HlpClr()
  2942.   strrjust().....strrjust()               whelpdef().....HlpDef()
  2943.   strrol().......strrol()                 whelpget().....HlpShow()
  2944.   strror().......strror()                 whelpop()......HlpPop()
  2945.   strrtrim() M...strrtrim() M             whelpopc().....HlpDrop()
  2946.   strschg()......strschg()                whelppcat()....HlpAdd()
  2947.   strsetsz().....strsetsz()               whelpundef() M.HlpOff()
  2948.   strshl().......strshl()                 whelpush().....HlpCur() M
  2949.   strshr().......strshr()                 whelpushc()....HlpPush()
  2950.   strsocc()......strsocc()                whelpwin().....HlpWind()
  2951.   strsrep()......strsrep()                whide()........Whide()
  2952.   strtrim()......strtrim()                whline().......WdrwHor()
  2953.   struplow().....struplow()               windowat().....Windowat()
  2954.   sysdate()......SysDate()                windump()......windump()
  2955.   systime()......SysTime()                winpbeg()......EntDef()
  2956.   tabstop()......TabNxt()                 winpdef()......EntFld()
  2957.   timer()........_Timer()                 winpfba()......FldFun()
  2958.   touplow()......touplow()                winpfcurr() M..FldCur() M
  2959.   videoinit()....VidInit()                winpffind()....FldLoc()
  2960.   vidmode()......VidMode()                winpkey()......EntKey()
  2961.   vidtype()......VidType()                winpread().....EntShow()
  2962.   wactiv().......Wactiv()                 winputsf().....KwGetFmt()
  2963.   waitkey()......KeyWait() M              winpwordsep()..EntSep()
  2964.   waitkeyt().....KeyTime()                winsline().....WlinIns()
  2965.   wborder()......Wborder()                wintodisk()....VsavBox() M
  2966.   wbox().........WdrwBox()                wmenubeg().....MnuBeg()
  2967.   wbprintc().....Wbprintc()               wmenubegc()....MnuAct()
  2968.   wcclear()......WclrWin()                wmenuend().....MnuEnd()
  2969.   wcenters().....WprtCen()                wmenuget().....MnuShow()
  2970.   wchgattr().....WchgAtr()                wmenuiba().....ItmFun()
  2971.   wchkbox()......WchkBox()                wmenuicurr() M.ItmCur() M
  2972.   wchkcol()......WchkCol()                wmenuidsab()...ItmDis()
  2973.   wchkcoord()....WchkPos()                wmenuienab()...ItmEna()
  2974.   wchkrow()......WchkRow()                wmenuifind()...ItmLoc()
  2975.   wclear() M.....Wclear() M               wmenuigetxt()..ItmGet()
  2976.  
  2977. TesSeRact CXL V5.5 Quick Reference Guide                            Page 47
  2978.   wmenuinext()...ItmNxt()                 --............._OutByt()
  2979.   wmenuiredisp().ItmDsp()                 --............._OutWrd()
  2980.   wmenuisetxt()..ItmSet()                 --.............FldKey()
  2981.   wmenuitem()....MnuItm()                 --............._FldDsp()
  2982.   wmenuitxt()....ItmTxt()                 --............._FldDecL()
  2983.   wmenumcurr() M.MnuCur() M               --............._FldDecR()
  2984.   wmessage().....Wmessage()               --.............MK_FPT() M
  2985.   wmove()........Wmove()                  --............._FarCpy()
  2986.   wopen()........Wopen()                  --............._CpyFar() A
  2987.   wperror()......Wperror()                --............._FarGet()
  2988.   wpgotoxy().....Wpgotoxy()               --............._GetFar() A
  2989.   wpickattr()....SelAttr()                --............._FarPut()
  2990.   wpickfile()....SelFile()                --............._PutFar() A
  2991.   wpickstr().....SelStr()                 --.............FmtBack()
  2992.   wprintc()......Wprtc()                  --.............FmtExcl()
  2993.   wprintf()......Wprtf()                  --.............FmtFlip()
  2994.   wprints()......Wprts()                  --.............FmtIncl()
  2995.   wprintsf().....WprtFmt()                --.............FmtInit()
  2996.   wputc()........Wputc()                  --.............FmtPutF() M
  2997.   wputns().......Wputns()                 --............._BioEqp()
  2998.   wputs()........Wputs()                  --.............HdwC40() M
  2999.   wputsw().......Wputsw()                 --.............HdwC80() M
  3000.   wreadcur().....WcurGet() M              --.............HdwFlg() M
  3001.   wrestore().....Wrestore()               --.............HdwM80() M
  3002.   wrjusts()......Wputrj()                 --.............HdwMdm() M
  3003.   wsave()........Wsave()                  --.............HdwMou() M
  3004.   wscanf().......KwScanf()                --.............KvGetCh()
  3005.   wscroll()......WscrWin()                --.............KvGetSt()
  3006.   wscrollbox()...WscrBox()                --.............KvGetYn()
  3007.   wselstr()......SelTxt()                 --.............KvScanf()
  3008.   wsetesc() M....WsetEsc() M              --.............KbndClr()
  3009.   wsetfill().....WsetFun()                --.............KeyPeek() M
  3010.   wshadoff().....Wshadoff()               --.............KqueChk() M
  3011.   wshadow()......Wshadow()                --.............KqueGet()
  3012.   wsize()........Wsize()                  --............._KeySta()
  3013.   wslide().......Wslide()                 --............._KeySet()
  3014.   wtabwidth() M..WsetTab() M              --............._KeyExt()
  3015.   wtextattr()....WsetTxt()                --............._KeyGet()
  3016.   wtitle().......Wtitle()                 --............._KeyHit()
  3017.   wunhide()......Wunhide()                --.............KextOff() M
  3018.   wunlink()......Wunlink()                --.............KextOn() M
  3019.   wvline().......WdrwVer()                --.............KinsOff() M
  3020.   wwprints().....Wwprints()               --.............KinsOn() M
  3021.   --............._StdOutS()               --.............EMSalloc()
  3022.   --............._WaitMs()                --.............EMSfree()
  3023.   --.............TcxlInit()               --.............EMSgetnam()
  3024.   --.............TcxlTerm()               --.............EMScount()
  3025.   --............._ChgDir()                --.............EMSpages()
  3026.   --............._ChgDrv()                --.............EMSmap()
  3027.   --............._FndFst()                --.............EMSquery()
  3028.   --............._FndNxt()                --.............EMSrest()
  3029.   --............._GetDir()                --.............EMSsave()
  3030.   --............._GetDrv()                --.............EMSsetnam()
  3031.   --............._InpByt()                --.............EMSstat()
  3032.   --............._InpWrd()                --.............UMBalloc()
  3033.   --............._IntDis()                --.............UMBfree()
  3034.   --............._IntEna()                --.............MemInit()
  3035.  
  3036. Page 48                            TesSeRact CXL V5.5 Quick Reference Guide
  3037.   --.............MemTerm() M              --............._VputX_()
  3038.   --............._A20_LD()                --............._VuvDis()
  3039.   --............._A20_LE()                --............._VuvEna()
  3040.   --............._A20chk()                --............._VuvGet()
  3041.   --............._A20dis()                --............._VuvSet()
  3042.   --............._A20ena()                --............._VuvVal()
  3043.   --.............HMAalloc()               --.............VgetDvb()
  3044.   --.............HMAfree()                --.............VisaEga()
  3045.   --.............XMSalloc()               --.............VisaPs2()
  3046.   --.............XMScopy()                --.............VsetChr()
  3047.   --.............XMSfree()                --.............Werror()
  3048.   --.............XMSavail()               --.............WpopUp()
  3049.   --.............XMSquery()               --.............Wcenter()
  3050.   --.............XMSlock()                --.............WcurPut() M
  3051.   --.............XMSrealloc()             --.............WposGet() M
  3052.   --.............XMSunlock()              --.............WputCen()
  3053.   --.............ItmKey()                 --.............WputFmt()
  3054.   --............._MSget()                 --.............Wputf()
  3055.   --............._MSpos()                 --.............WdupChrA()
  3056.   --............._MSset()                 --.............WdupStrA()
  3057.   --............._MSsho()                 --.............Wprtns()
  3058.   --.............MShome()                 --.............Wprtrj()
  3059.   --.............MSkeys()                 --.............Wprtsw()
  3060.   --.............MSpop()                  --.............WcurGt_()
  3061.   --.............MSterm()                 --.............WcurPt_()
  3062.   --............._LPputC()                --............._Wputl()
  3063.   --.............lprintn()
  3064.   --............._Select()
  3065.   --.............VcurPut() M
  3066.   --.............VidOfs() M
  3067.   --.............VidTerm()
  3068.   --.............Vputw() M
  3069.   --.............Vscroll() M
  3070.   --.............VcurGet()
  3071.   --.............VcurGt_()
  3072.   --.............VcurPt_()
  3073.   --.............VcurSz_()
  3074.   --.............VdrwBx_()
  3075.   --.............VfilBx_()
  3076.   --.............Vgetw_()
  3077.   --.............Vputw_()
  3078.   --.............VsavBx_()
  3079.   --.............Vscrol_()
  3080.   --............._VgetS() M
  3081.   --............._VputA() M
  3082.   --............._VputB() M
  3083.   --............._VputX() M
  3084.   --............._VgetN_()
  3085.   --............._VgetS_()
  3086.   --............._VgetW_()
  3087.   --............._VgetX_()
  3088.   --............._VputA_()
  3089.   --............._VputB_()
  3090.   --............._VputC_()
  3091.   --............._VputN_()
  3092.   --............._VputS_()
  3093.   --............._VputW_()
  3094.  
  3095. TesSeRact CXL V5.5 Quick Reference Guide                            Page 49
  3096.